96d68291af
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 |
||
---|---|---|
.. | ||
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 |