MirBSD Korn Shell for Jehanne
Go to file
tg c995f7ca98 I thought of making COMSUB pass a pointer to the struct op *t->left around
instead, but the parser for the so-called “backticks” (U+0060) still emits
plaintext COMSUB wdstrings, and the evaluation code emits plaintext if the
code is not run (‘-n’ option), so it’s not worth the effort and memory ma-
nagement issues, even though it _would_ optimise the most common case…

Bump version numbers, sync regression tests; add one testcase from the old
webpages too. Sync manpage, this now works, but keep the workaround in, as
“portability issue” with slightly changed wording.

Also, /bin/sleep must be used in one manpage example if sleep is built in.
2011-03-06 01:50:11 +00:00
Build.sh port to FreeMiNT: add OS uname and flags; 2>&- is evil™; $UNIXMODE must be preserved; unlink(2) is weird 2011-02-27 19:29:20 +00:00
Makefile • more comment and int→bool cleanup, add and improve some comments 2011-02-11 01:18:23 +00:00
check.pl port to FreeMiNT: add OS uname and flags; 2>&- is evil™; $UNIXMODE must be preserved; unlink(2) is weird 2011-02-27 19:29:20 +00:00
check.t I thought of making COMSUB pass a pointer to the struct op *t->left around 2011-03-06 01:50:11 +00:00
dot.mkshrc add smores, a more(1)-like pager 2011-02-09 19:32:35 +00:00
edit.c fix prev-hist-word again, thanks Jörg-Volker Peetz 2011-02-09 13:08:18 +00:00
emacsfn.h • merge printf from OpenBSD 2010-07-17 22:09:40 +00:00
eval.c ${foo@x} is now special-expansion for values of x, defined for now: 2011-01-21 22:25:34 +00:00
exec.c • add -u option (POSIX: unbuffered ⇒ nop) to the built-in cat 2011-02-18 22:26:13 +00:00
expr.c regenerate all wcwidth code from UCD 6.0.0 and related tables, 2010-12-11 16:05:03 +00:00
funcs.c split malloc_os and friends further into 2011-03-05 21:48:09 +00:00
histrap.c forgot 2011-02-09 19:32:15 +00:00
jobs.c • add -u option (POSIX: unbuffered ⇒ nop) to the built-in cat 2011-02-18 22:26:13 +00:00
lalloc.c split malloc_os and friends further into 2011-03-05 21:48:09 +00:00
lex.c the long-awaited recursive parser for COMSUB $(…) expressions 2011-03-06 01:25:35 +00:00
main.c introduce macros for malloc, realloc, free to hide them from mksh 2011-03-05 21:43:18 +00:00
misc.c introduce macros for malloc, realloc, free to hide them from mksh 2011-03-05 21:43:18 +00:00
mksh.1 I thought of making COMSUB pass a pointer to the struct op *t->left around 2011-03-06 01:50:11 +00:00
sh.h I thought of making COMSUB pass a pointer to the struct op *t->left around 2011-03-06 01:50:11 +00:00
sh_flags.h • more comment and int→bool cleanup, add and improve some comments 2011-02-11 01:18:23 +00:00
shf.c • Address concerns of Chris Palmer from the Android security team 2010-09-14 21:26:19 +00:00
strlcpy.c more KNF, mostly whitespace, this time more manual labour applying style(9) 2009-06-10 18:12:51 +00:00
syn.c the long-awaited recursive parser for COMSUB $(…) expressions 2011-03-06 01:25:35 +00:00
tree.c dump TCASE as "case $foo in (1) blah ;; esac" not "… (1); blah …" 2011-03-06 00:52:02 +00:00
var.c • more comment and int→bool cleanup, add and improve some comments 2011-02-11 01:18:23 +00:00
var_spec.h further optimise and simplify the handling of $RANDOM, reads and writes 2009-09-26 03:40:03 +00:00