freebsd-skq/tools/regression/usr.bin/comm
Jaakko Heinonen d8eba599f5 Don't read the newline character to line buffer because lines are passed
to wcscoll(3). Newline characters could cause incorrect results when
comparing lines.

Also, if an input line didn't contain a newline character, it was
omitted from the output. According to my interpretation, SUSv3 requires
that the newline is always printed.

Add regression tests for the cases. [1]

PR:		bin/140976
Submitted by:	D'Arcy Cain (original version) [1]
Approved by:	trasz (mentor)
2009-12-12 18:18:46 +00:00
..
Makefile
regress.00.out
regress.00a.in
regress.00b.in
regress.01.out
regress.01a.in
regress.01b.in
regress.02.out
regress.02a.in
regress.02b.in
regress.sh
regress.t