freebsd-dev/usr.bin/sed
Diomidis Spinellis 37c94e1d78 Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR:		misc/25585
Submitted by:	Walter Briscoe <w.briscoe@ponl.com>
Approved by:	schweikh (mentor)
MFC after:	2 weeks
2003-07-22 19:22:08 +00:00
..
TEST Test 8.16 in sed.test tests the ability of a sed to handle an empty 2003-07-22 19:22:08 +00:00
compile.c Ignore leading semicolons on commands; required by SUSv3. 2002-07-30 14:07:30 +00:00
defs.h
extern.h Make cspace()'s second argument const. Make `escapes' in lputs() const. 2002-07-08 06:00:55 +00:00
main.c Fix some bugs in in-place editing: 2002-07-30 19:42:18 +00:00
Makefile Kill superfluous blank line. 2002-06-17 08:21:53 +00:00
misc.c Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
POSIX
process.c Do not dribble zero bytes into the output, by replacing an obfuscated if 2003-06-05 12:10:19 +00:00
sed.1 mdoc(7) police: markup polishing. 2002-11-26 17:33:37 +00:00