freebsd-dev/usr.bin/sed
Tim J. Robbins 8523e9a677 Avoid checking whether each line is the last line of the file when we don't
need to know. Instead, check when we are trying to match a "$" address.
This does not change the way sed processes regular files, but makes it behave
more sensibly when used interactively.

PR:		40101
MFC after:	2 weeks
2002-07-03 14:38:27 +00:00
..
TEST
compile.c Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character) 2002-06-01 13:25:47 +00:00
defs.h Remove local redefinition for err(). Add usage(). 1997-08-11 07:21:08 +00:00
extern.h Avoid checking whether each line is the last line of the file when we don't 2002-07-03 14:38:27 +00:00
main.c Avoid checking whether each line is the last line of the file when we don't 2002-07-03 14:38:27 +00:00
Makefile Kill superfluous blank line. 2002-06-17 08:21:53 +00:00
misc.c WARNS=2 partial fix; use NO_WERROR to protect against some hard-to-fix warnings. 2001-12-12 23:20:16 +00:00
POSIX BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
process.c Avoid checking whether each line is the last line of the file when we don't 2002-07-03 14:38:27 +00:00
sed.1 Sort sections, and refer to sed as a utility, not a function. 2002-06-25 08:36:19 +00:00