summaryrefslogtreecommitdiff
path: root/usr.bin/head
AgeCommit message (Collapse)Author
2000-03-07Various cleanup.Aaron Campbell
1999-10-17Remove some redundant .Pp.Aaron Campbell
1999-07-23- Make error msgs more consistent with other usr.bin/ utils.Aaron Campbell
- Use warn() instead of an fprintf().
1999-07-23- Use strtol() instead of atoi() so head(1) will complain when given badAaron Campbell
number specifications like: head -123foobar456. Also, check for ERANGE and abort if strtol() returned LONG_MAX or LONG_MIN. - Don't exit() when encountering a filename in argv[] that can't be open; instead just continue. - Don't keep decrementing `linecnt' if we've hit the end of the file. millert@ ok
1999-07-21sounds betterAaron Campbell
1999-07-21Improve the description and add examples, including one that demonstrates howAaron Campbell
head(1) is often used in conjunction with tail -1 to display a single arbitrary line from a file.
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt