NetBSD/bin/sh
christos abc3b37046 PR/43469: Antii Kantee: test/util/sh/t_expand:strip fails.
Bring back fixes from revision 1.75:

- Fix a couple of bugs to make the following two echo statements print the
  same output as they should:

    line='#define bindir "/usr/bin" /* comment */'
    echo "${line%%/\**}"
    echo ${line%%/\**}

1. ISDBLQUOTE() was not working properly for non VSNORMAL expansions because
   varnest was incremented before the variable was completely parsed. Add
   an insub adjustment to keep track of that.
2. When we have a quoted backslash, we either need to escape twice, because
   one level of escaping will be stripped later (in the variable substitution
   case) or simply enter the backslash.
2010-11-16 18:17:32 +00:00
..
bltin
funcs
USD.doc RCSIds 2010-08-22 02:19:07 +00:00
alias.c Initialized flag field in struct alias (Fixed PR/43281) 2010-10-29 17:04:48 +00:00
alias.h
arith_lex.l
arith.y
builtins.def
cd.c
cd.h
error.c
error.h
eval.c
eval.h
exec.c
exec.h
expand.c
expand.h
histedit.c
init.h
input.c dprintf is claimed by posix. 2010-08-30 06:27:14 +00:00
input.h
jobs.c
jobs.h
machdep.h
mail.c
mail.h
main.c
main.h
Makefile increase commented out debugging. 2010-08-30 06:26:59 +00:00
memalloc.c
memalloc.h
miscbltin.c
miscbltin.h
mkbuiltins
mkinit.sh
mknodes.sh
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c
options.h
output.c dprintf is claimed by posix. 2010-08-30 06:27:14 +00:00
output.h Make sh build in debug mode 2010-10-29 17:06:53 +00:00
parser.c PR/43469: Antii Kantee: test/util/sh/t_expand:strip fails. 2010-11-16 18:17:32 +00:00
parser.h
redir.c
redir.h
sh.1
shell.h
show.c don't core-dump if we cannot open the trace file. 2010-11-14 19:36:07 +00:00
show.h
syntax.c
syntax.h
TOUR
trap.c
trap.h
var.c
var.h