freebsd-nq/bin/sh
Peter Wemm 8f08f33ed9 Implement allowing 'set -v' in the middle of a script to work.
This means that a script containing:
  echo 1
  set -v
  echo 2
will now produce output, like it does on SYSV machines and other 'proper'
/bin/sh implementations..

This is done by a slight restructure of the input processor allowing it to
read chunks from the file at a time, but process the data by line from the
chunk.

Obtained from:  Christos Zoulas for NetBSD. <christos@deshaw.com>
1995-11-03 18:50:14 +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 Implement the "ulimit" builtin. This is the analogon to csh's "limit" 1995-10-19 18:42:12 +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 Don't dereference a NULL pointer in the case of a null pipe. 1995-09-20 08:30:56 +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 Implement allowing 'set -v' in the middle of a script to work. 1995-11-03 18:50:14 +00:00
input.h Added $Id$ 1994-09-24 02:59:15 +00:00
jobs.c Fix relocation of job table. 1995-09-21 13:24:20 +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 o rename ulimit -p into ulimit -u, so we are in agreement with bash 1995-10-21 00:47:32 +00:00
mkbuiltins Make build work, even if there is no obj subdir. 1995-03-30 19:45:20 +00:00
mkinit.c Make the mkinit internal command issue an #undef for each #define, to 1995-10-01 15:13:31 +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 my breakage of the $0 handling during $ENV processing. 1995-10-09 17:56:32 +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 Sigh. This will become a never ending story. :-( 1995-08-28 19:24:35 +00:00
parser.h Added $Id$ 1994-09-24 02:59:15 +00:00
redir.c o rename ulimit -p into ulimit -u, so we are in agreement with bash 1995-10-21 00:47:32 +00:00
redir.h Added $Id$ 1994-09-24 02:59:15 +00:00
sh.1 o rename ulimit -p into ulimit -u, so we are in agreement with bash 1995-10-21 00:47:32 +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