Home | History | Annotate | Download | only in nl
History log of /src/usr.bin/nl/nl.c
RevisionDateAuthorComments
 1.15  31-Dec-2020  ginsbach 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.
 1.14  30-Dec-2020  ginsbach 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.
 1.13  22-Dec-2020  ginsbach nl(1): remove superfluous exit

Remove exit(3) call missed when errors were converted to errx(3).
 1.12  17-Sep-2013  wiz branches: 1.12.18; 1.12.28;
If file argument is '-', read from stdin.
From Jérémie Courrèges-Anglas <jca@wxcvbn.org>.
 1.11  16-Aug-2011  christos branches: 1.11.2; 1.11.8;
- document non-literal format string
- use err/errx
- prototypes
 1.10  12-Apr-2009  lukem Fix -Wextra and -Wsign-compare issues
 1.9  21-Jul-2008  lukem branches: 1.9.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.8  28-Apr-2008  martin branches: 1.8.2;
Remove clause 3 and 4 from TNF licenses
 1.7  10-May-2006  mrg branches: 1.7.20;
quell GCC 4.1 uninitialised variable warnings.

XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
 1.6  03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.5  06-Sep-1999  kleink Pasto in previous; noticed by Perry.
 1.4  06-Sep-1999  kleink Use NL_TEXTMAX to size the buffer passed to regerror().
 1.3  23-Apr-1999  kleink Harmless signed/unsigned botch.
 1.2  16-Feb-1999  kleink Avoid a bogus GCC uninitialized warning; reported by Soren S. Jorvang.
 1.1  15-Feb-1999  kleink Add an implementation of the XPG4.2 nl(1) utility.
 1.7.20.1  18-May-2008  yamt sync with head.
 1.8.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.9.6.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.11.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.12.28.1  10-Feb-2021  martin 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.
 1.12.18.1  10-Feb-2021  martin Pull up following revision(s) (requested by ginsbach in ticket #1651):

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.

RSS XML Feed