summaryrefslogtreecommitdiff
path: root/usr.bin/head/head.c
AgeCommit message (Expand)Author
2024-04-19head: use getline() instead of fgetln()Martin Tournoij
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2022-07-12Improve usability of head(1) and tail(1):Xin LI
2019-11-06fileargs_init() sets errno on failure.Mark Johnston
2019-04-17cap_fileargs: chase r346315, update fileargs_init in consumersEd Maste
2018-11-12head: sandbox using capsicumMariusz Zaborski
2018-11-12head: fix style nitsMariusz Zaborski
2018-04-10head(1): Provide long optionsKyle Evans
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
2007-01-11Fix build on architectures where off_t is signed by casting to uintmax_tBrooks Davis
2007-01-11Fix head -c ### where ### is greater than 2^31. Unlike the submittedBrooks Davis
2002-07-23Remove duplicate __FBSDID() - spotted by trying to build with a non-GNUJuli Mallett
2002-06-30Consistently use FBSDIDDavid E. O'Brien
2002-04-28Fix VCS tags; ANSIfy functionsMark Murray
2002-03-301) Staticise.David Malone
2002-03-22remove __PWarner Losh
2002-01-24Make usage message and man page synopsis reflect the fact that -nDavid Malone
2001-11-02In order to perform faster when doing "head -n", use a pair ofAlfred Perlstein
2001-11-02change a global into a local, misc style fixesAlfred Perlstein
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1998-10-09fread() returns 0 on eof or error, not EOF. This fixes the followingDag-Erling Smørgrav
1997-07-11Setting eval to 1 after calling warn was the original behaviour.Philippe Charnier
1997-07-10Use err(3) instead of local redefinition.Philippe Charnier
1997-04-06Support for -c, byte count.Alexander Langer
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1997-03-11Merge from Lite2Peter Wemm
1996-02-26first check the count and then getWolfram Schneider
1995-08-15head(1) ignored EOFs (in certain cases).Joerg Wunsch
1994-05-27BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes