summaryrefslogtreecommitdiff
path: root/usr.bin/nl
AgeCommit message (Collapse)Author
2019-04-21pledge "stdio" after opening file and before doing operationsTheo de Raadt
from Rafael Neves
2016-10-28Document that "nl -d" uses LC_CTYPE.Ingo Schwarze
Triggered by an incorrect patch from Jan Stary. Feedback and OK jmc@, OK millert@.
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath". could go crazy and handle the non-filename case,Theo de Raadt
but i am feeling some fatigue.
2015-01-21Do not need sys/cdefs.hTheo de Raadt
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2014-05-20Use errc/warnc to simplify code.Philip Guenther
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
2014-04-09mark as xsi;Jason McIntyre
2014-03-16nl appeared in 5.5Ted Unangst
2013-11-28Re-add documentation about `-' handling. Discussed a few months agoJeremie Courreges-Anglas
with jmc and wiz@netbsd.
2013-11-15Include unistd.h as it is the standard location for getopt().Todd C. Miller
2013-09-14STANDARDS:Jason McIntyre
- use standard wording - intermingling stuff was removed in issue 6 ok jca
2013-09-09nl(1) is actually marked as an XSI (XPG 4.2) extension.Jeremie Courreges-Anglas
Remove the remaining differences with NetBSD nl.1 regarding STANDARDS and `-' handling. Discussed with jmc@
2013-09-08tweak previous;Jason McIntyre
2013-09-08Import nl(1) from the NetBSD source tree, with local changes discussedJeremie Courreges-Anglas
on tech@, among which `-' syntax for stdin, multibyte delimiter support (based on FreeBSD) and various code simplifications. Original diffs from pascal@ and later Arto Jonsson (ajonsson at kapsi dot fi), comments and work by others, especially millert@. "That looks good to me." millert@