summaryrefslogtreecommitdiff
path: root/usr.bin/head/head.c
AgeCommit message (Expand)Author
2022-02-07head(1): check for stdio errorsScott Soule Cheloha
2022-01-29head(1): refactor main loopScott Soule Cheloha
2021-10-10head(1): validate all line count argumentsScott Soule Cheloha
2016-03-20whitespace: remove a space before a tab and a trailing tab.tb
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath" initially. if no files, go to tame "stdio".Theo de Raadt
2014-10-08Fix a 37 year old bug introduced by Bill Joy on August 24, 1977Ingo Schwarze
2014-10-07fix a critical DDOS in head. use the correct exit code on failure.Ted Unangst
2013-11-26unsigned char casts for ctypeTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-10-31sync usage() w/ synopsis; from Pierre RiteauJason McIntyre
2006-10-09prettyTed Unangst
2006-10-06Convert strtol to strtonum, eliminating errno misusage.Ray Lai
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-03-14kill more registers.Mike Pechkin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-07-04cleanup; santana@openbsd.org.mxTheo de Raadt
2000-11-07Add __P(). ok deraadt@Kevin Lo
1999-07-23- Make error msgs more consistent with other usr.bin/ utils.Aaron Campbell
1999-07-23- Use strtol() instead of atoi() so head(1) will complain when given badAaron Campbell
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