NetBSD/usr.bin/nl
martin ebdbbd7fd3 Pull up following revision(s) (requested by ginsbach in ticket #1202):
usr.bin/nl/nl.c: revision 1.13
	usr.bin/nl/nl.c: revision 1.14
	usr.bin/nl/nl.c: revision 1.15

nl(1): remove superfluous exit

Remove exit(3) call missed when errors were converted to errx(3).

nl: fix -d delim parsing for POSIX
POSIX specifies it is possible to specify a one delimiter character.
Fix the logic so that both one and two character delimiters are accepted.

PR/55891 supress displaying separator when numbers supressed

Fix based on patch provided by Kobayashi Takashi. This brings nl(1) further
in to POSIX compliance. Verified behavior with classic SysV nl(1) and GNU
nl(1). There could still be edge cases here not specified by POSIX.
2021-02-10 16:54:52 +00:00
..
Makefile
nl.1
nl.c