freebsd-skq/usr.bin/sed/tests
dumbbell 9dd857db3d sed(1): Don't force a newline on last line, if input stream doesn't have one
While here, change how we check if the current line is the last one.
Before, we just checked if there were more files after the current one.
Now, we check the actual content of those files: they files may not have
a line at all. This matches the definition of the "last line" by the
Open Group.

The new behavior is closer to GNU sed.

PR:		160745
Phabric:	https://phabric.freebsd.org/D431
Reviewed by:	jilles
Approved by:	jilles
Exp-run by:	antoine
2014-08-08 17:29:01 +00:00
..
regress.multitest.out
hanoi.sed
inplace_race_test.sh
legacy_test.sh
Makefile
math.sed
multi_test.sh
regress.b2a.out
regress.bcb.out
regress.c0.out
regress.c1.out
regress.c2.out
regress.c3.out
regress.G.out
regress.hanoi.out
regress.icase1.out
regress.icase2.out
regress.icase3.out
regress.icase4.out
regress.in
regress.math.out
regress.not.out
regress.P.out
regress.psl.out
regress.s3.out
regress.s4.out
regress.s5.out
regress.sg.out
regress.sh
regress.y.out sed(1): Don't force a newline on last line, if input stream doesn't have one 2014-08-08 17:29:01 +00:00