NetBSD/bin/sh
christos 505573954e Unfortunately (as I expected) the previous change broke:
sleep
    cmd='set `type "sleep"`; eval echo \$$#'
    which=`eval $cmd`
    echo $which

because the region did not get recorded at all, and it was interpreted as
a single word. I modified the code to keep track when the result of a
backquote expansion has been recorded to avoid recording it twice. I still
feel that this is not the right fix... More to come.
1997-12-01 14:43:20 +00:00
..
bltin
funcs
alias.c
alias.h
arith_lex.l
arith.h
arith.y
builtins.def
cd.c
cd.h
error.c
error.h Don't re-define setjmp/longjmp in the svr4 case 1997-07-15 17:44:32 +00:00
eval.c Avoid a segv in bltinlookup() reported by Ronald Khoo <ronald@demon.net> 1997-08-26 20:09:59 +00:00
eval.h
exec.c PR/3888: Chris Demetriou: type command-with-slash prints 1997-07-20 21:27:35 +00:00
exec.h PR/3888: Chris Demetriou: type command-with-slash prints 1997-07-20 21:27:35 +00:00
expand.c Unfortunately (as I expected) the previous change broke: 1997-12-01 14:43:20 +00:00
expand.h
histedit.c Make this compile with -DSMALL and warnings on. 1997-11-12 03:40:55 +00:00
init.h
input.c PR/4257: Jaromir Dolecek: Update for libedit interface change. 1997-10-14 15:06:42 +00:00
input.h
jobs.c PR/3662: David Holland: Make /bin/sh use the symbolic macros for wait(). 1997-10-08 20:31:52 +00:00
jobs.h pid should be pid_t and status should be int! Avoid alignment problems... 1997-10-15 13:23:10 +00:00
machdep.h
mail.c
mail.h
main.c
main.h
Makefile CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
memalloc.c
memalloc.h
miscbltin.c Per 1003.2, the (builtin) read utility shall treat the backslash as an 1997-11-05 14:05:28 +00:00
miscbltin.h
mkbuiltins
mkinit.c
mknodes.c
mksyntax.c Cast the result of pointer arithmetic to "long", and use %ld to print it. 1997-07-18 17:46:59 +00:00
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c
options.h
output.c
output.h
parser.c Fix Sparcworks warnings. 1997-07-15 17:45:53 +00:00
parser.h
redir.c
redir.h
sh.1 Per 1003.2, the (builtin) read utility shall treat the backslash as an 1997-11-05 14:05:28 +00:00
shell.h
show.c Remove local declaration of getenv(); 1997-12-01 14:40:16 +00:00
show.h
TOUR
trap.c
trap.h
var.c
var.h