Date: Fri, 3 Nov 1995 10:50:16 -0800 From: Peter Wemm <peter> To: cvs-bin, CVS-commiters Subject: cvs commit: src/bin/sh input.c Message-ID: <199511031850.KAA23038@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 95/11/03 10:50:15
Modified: bin/sh input.c
Log:
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511031850.KAA23038>
