summaryrefslogtreecommitdiff
path: root/usr.bin/head
AgeCommit message (Collapse)Author
2002-03-14kill more registers.Mike Pechkin
millert@ ok
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-07-04cleanup; santana@openbsd.org.mxTheo de Raadt
2000-11-10- Section shuffling: comply to the section ordering outlined in mdoc(7).Aaron Campbell
- Some .Nm trimming. - .Sh AUTHOR -> .Sh AUTHORS - Other miscellaneous fixes here and there.
2000-11-07Add __P(). ok deraadt@Kevin Lo
2000-10-07Hmmm, no, that's the wrong place for that.Aaron Campbell
2000-10-07Move COMPATIBILITY section after SEE ALSO.Aaron Campbell
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