NetBSD/bin/sh
dsl c58b829dda Set the 'not a parameter' flag when we skip initial whitespace.
Otherwise:
    ./sh -c 'x=" "; for a in $x; do echo a${a}a; done'
is processed as a single empty parameter (instead of no parameters).
Should fix the breakage I introdiced in rev 1.75 and PR/34256 and PR/34254
2006-08-22 18:11:42 +00:00
..
bltin remove obsolete register declarations 2005-02-06 04:43:43 +00:00
funcs
alias.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
alias.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
arith_lex.l A rather better fix for treating $((x)) as equivalent to $(($x)) provided 2005-03-21 22:37:09 +00:00
arith.y Drop equal signs from rule definitions; they cause problems with "bison -y". 2003-09-17 17:33:36 +00:00
builtins.def Add new builtin `wordexp' to support wordexp(3). 2004-07-13 15:05:59 +00:00
cd.c Make the change for bin/31548 to set $PWD on shell startup non-fatal if 2006-05-04 11:16:53 +00:00
cd.h PR/31548: Alexander Rigbo: $PWD not set when shell starts up, before pwd 2005-10-10 21:14:42 +00:00
error.c Add error printing for ENAMETOOLONG. Partially addresses PR bin/13850 . 2006-01-02 19:10:33 +00:00
error.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
eval.c Coverity CID 3384: Don't close -1. 2006-05-13 19:47:22 +00:00
eval.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
exec.c Coverity CID 890: Possible NULL pointer deref. 2006-03-18 05:23:08 +00:00
exec.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
expand.c Set the 'not a parameter' flag when we skip initial whitespace. 2006-08-22 18:11:42 +00:00
expand.h Add new builtin `wordexp' to support wordexp(3). 2004-07-13 15:05:59 +00:00
histedit.c quell GCC 4.1 uninitialised variable warnings. 2006-05-10 21:53:14 +00:00
init.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
input.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
input.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
jobs.c It's "its." 2006-04-24 19:00:29 +00:00
jobs.h Generate command line when SMALL is defined and make buffer full sized. 2003-11-27 21:16:14 +00:00
machdep.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
mail.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
mail.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
main.c PR/31548: Alexander Rigbo: $PWD not set when shell starts up, before pwd 2005-10-10 21:14:42 +00:00
main.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
Makefile sprinkle a little const, and now everything compiles with WARNS=3 2005-06-26 19:10:48 +00:00
memalloc.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
memalloc.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
miscbltin.c fix setmode error handling. 2005-10-01 20:23:54 +00:00
miscbltin.h remove clause 3 2003-08-21 17:57:53 +00:00
mkbuiltins don't include the printf builtin if we are SMALL; saves 10K. 2004-06-06 07:03:11 +00:00
mkinit.sh Use shell variables to get '(' and '\' inside shell substitution patterns. 2004-06-15 23:09:54 +00:00
mknodes.sh Replace the C program mknodes.c with a shell script mknodes.sh 2004-01-16 23:24:38 +00:00
mktokens Move 4 more files from UCB 4 clause to 3 clause licence. 2003-08-22 11:22:23 +00:00
myhistedit.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
mystring.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
mystring.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
nodes.c.pat Change '\0' to 0 so that the SVR4 'echo' doesn't convert it to a null byte. 2004-06-15 22:57:27 +00:00
nodetypes Move 4 more files from UCB 4 clause to 3 clause licence. 2003-08-22 11:22:23 +00:00
options.c TOG require that 'set +o' output the options in a form suitable for 2005-12-13 17:44:18 +00:00
options.h TOG require that 'set +o' output the options in a form suitable for 2005-12-13 17:44:18 +00:00
output.c Handle asprintf failing to allocate. 2006-03-17 14:43:11 +00:00
output.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
parser.c PR/33775: YAMAMOTO Takashi: /bin/sh doesn't accept "(" before case patterns 2006-06-20 15:57:44 +00:00
parser.h Correctly apply IFS to unquoted text in ${x-text}. 2004-06-26 22:09:49 +00:00
redir.c PR/25699: David Laight: sh(1) hangs opening a named pipe as stdin for 2004-07-08 03:57:33 +00:00
redir.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
sh.1 In mdoc, use .Pp for new paragraphs, not .br. 2005-09-10 22:09:43 +00:00
shell.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
show.c This seems to need stdlib.h to get a prototype for abort(). 2003-11-14 10:46:13 +00:00
show.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:05:01 +00:00
syntax.c Put a syntax.c under CVS instead of building if with the mksyntax program. 2004-01-17 17:38:12 +00:00
syntax.h Put a syntax.c under CVS instead of building if with the mksyntax program. 2004-01-17 17:38:12 +00:00
TOUR It's "its." 2006-04-24 18:00:53 +00:00
trap.c Allow trap to work on ignored signals when the shell is interactive. 2005-07-15 17:23:48 +00:00
trap.h make setsig() return sig_t 2005-07-11 02:37:31 +00:00
var.c It's "its." 2006-04-24 19:00:29 +00:00
var.h Save the length of each variable in the name table so that we can 2004-10-02 12:16:53 +00:00