abc3b37046
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. |
||
---|---|---|
.. | ||
bltin | ||
funcs | ||
USD.doc | ||
alias.c | ||
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 | ||
input.h | ||
jobs.c | ||
jobs.h | ||
machdep.h | ||
mail.c | ||
mail.h | ||
main.c | ||
main.h | ||
Makefile | ||
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 | ||
output.h | ||
parser.c | ||
parser.h | ||
redir.c | ||
redir.h | ||
sh.1 | ||
shell.h | ||
show.c | ||
show.h | ||
syntax.c | ||
syntax.h | ||
TOUR | ||
trap.c | ||
trap.h | ||
var.c | ||
var.h |