freebsd-dev/bin/sh
Joerg Wunsch 47a052e00f Make the shell handle a null command in a &&/|| sequence correctly.
The && and || tokens do also terminate a command, not only the
newline.

While i was at it, disabled trace code by default, it served no good
purpose since it required the use of a debugger anyway to be turned
on.  Instead, placed a hint in the Makefile on how to turn it on.

This makes the shell ~ 10 % faster and ~ 4 KB smaller. :)

Pointed out by:  jan@physik.TU-Berlin.DE (Jan Riedinger)
1995-08-27 20:26:44 +00:00
..
bltin Clean up compilation warnings. 1995-08-23 05:31:06 +00:00
funcs Added $Id$ 1994-09-24 02:59:15 +00:00
alias.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
alias.h Added $Id$ 1994-09-24 02:59:15 +00:00
arith_lex.l Added $Id$ 1994-09-24 02:59:15 +00:00
arith.y Added $Id$ 1994-09-24 02:59:15 +00:00
builtins Added $Id$ 1994-09-24 02:59:15 +00:00
cd.c Obtained from: partly from 1.1.5 1994-12-26 13:02:05 +00:00
errmsg.c Added $Id$ 1994-09-24 02:59:15 +00:00
errmsg.h Added $Id$ 1994-09-24 02:59:15 +00:00
error.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
error.h Added $Id$ 1994-09-24 02:59:15 +00:00
eval.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
eval.h Added $Id$ 1994-09-24 02:59:15 +00:00
exec.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
exec.h Added $Id$ 1994-09-24 02:59:15 +00:00
expand.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
expand.h Added $Id$ 1994-09-24 02:59:15 +00:00
histedit.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
init.h Added $Id$ 1994-09-24 02:59:15 +00:00
input.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
input.h Added $Id$ 1994-09-24 02:59:15 +00:00
jobs.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
jobs.h Added $Id$ 1994-09-24 02:59:15 +00:00
machdep.h Added $Id$ 1994-09-24 02:59:15 +00:00
mail.c Added $Id$ 1994-09-24 02:59:15 +00:00
mail.h Added $Id$ 1994-09-24 02:59:15 +00:00
main.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
main.h Added $Id$ 1994-09-24 02:59:15 +00:00
Makefile Make the shell handle a null command in a &&/|| sequence correctly. 1995-08-27 20:26:44 +00:00
memalloc.c Added $Id$ 1994-09-24 02:59:15 +00:00
memalloc.h Added $Id$ 1994-09-24 02:59:15 +00:00
miscbltin.c Added $Id$ 1994-09-24 02:59:15 +00:00
mkbuiltins Make build work, even if there is no obj subdir. 1995-03-30 19:45:20 +00:00
mkinit.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
mknodes.c Added $Id$ 1994-09-24 02:59:15 +00:00
mksignames.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
mksyntax.c Added $Id$ 1994-09-24 02:59:15 +00:00
mktokens Added $Id$ 1994-09-24 02:59:15 +00:00
myhistedit.h Added $Id$ 1994-09-24 02:59:15 +00:00
mystring.c Added $Id$ 1994-09-24 02:59:15 +00:00
mystring.h Added $Id$ 1994-09-24 02:59:15 +00:00
nodes.c.pat Added $Id$ 1994-09-24 02:59:15 +00:00
nodetypes Added $Id$ 1994-09-24 02:59:15 +00:00
options.c Fix /bin/sh's broken handling of the builtin getopts(1). The options 1995-08-06 19:35:33 +00:00
options.h Added $Id$ 1994-09-24 02:59:15 +00:00
output.c Added $Id$ 1994-09-24 02:59:15 +00:00
output.h Added $Id$ 1994-09-24 02:59:15 +00:00
parser.c Make the shell handle a null command in a &&/|| sequence correctly. 1995-08-27 20:26:44 +00:00
parser.h Added $Id$ 1994-09-24 02:59:15 +00:00
redir.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
redir.h Added $Id$ 1994-09-24 02:59:15 +00:00
sh.1 typo there --> their 1995-05-05 16:49:15 +00:00
shell.h Make the shell handle a null command in a &&/|| sequence correctly. 1995-08-27 20:26:44 +00:00
show.c Added $Id$ 1994-09-24 02:59:15 +00:00
TOUR Added $Id$ 1994-09-24 02:59:15 +00:00
trap.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
trap.h Added $Id$ 1994-09-24 02:59:15 +00:00
var.c Remove trailing whitespace. 1995-05-30 00:07:29 +00:00
var.h Added $Id$ 1994-09-24 02:59:15 +00:00