summaryrefslogtreecommitdiffstats
path: root/src/head.c
AgeCommit message (Expand)AuthorLines
2021-09-15maint: prefer rawmemchr to memchr when easyPaul Eggert-3/+4
2021-06-26maint: while (1) → while (true)Paul Eggert-2/+2
2021-04-11maint: use "char const *" rather than "const char *"Pádraig Brady-11/+11
2021-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2020-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2019-01-01maint: update all copyright year number rangesAssaf Gordon-1/+1
2018-07-22doc: improve documentation of binary prefixesWodry-0/+1
2018-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2017-09-19all: prefer HTTPS in URLsPaul Eggert-1/+1
2017-02-16maint: xsetmode renamed to xbinary-ioPaul Eggert-3/+3
2017-02-15maint: use xsetmode, not xfreopenPaul Eggert-5/+3
2017-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2016-11-28head: fix processing of non-seekable input as seekablePádraig Brady-2/+2
2016-10-16all: use die() rather than error(EXIT_FAILURE)Pádraig Brady-7/+8
2016-01-13head,tail: add the -z,--zero-terminated optionRichard Russon-7/+24
2016-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2015-11-30doc: avoid confusing K argument in the man pages of head and tailBernhard Voelker-10/+10
2015-11-04all: avoid quoting file names when possiblePádraig Brady-14/+14
2015-11-04all: replace most uses of quotearg_colon() with quote()Pádraig Brady-3/+2
2015-05-30maint: avoid new coverity warningsPádraig Brady-2/+2
2015-04-30doc: standardize messages about the '-' stdin FILEPádraig Brady-1/+1
2015-01-01maint: update all copyright year number rangesPádraig Brady-1/+1
2014-12-19diagnose too-large numbers betterPádraig Brady-25/+7
2014-10-07wc: don't miscount /sys and similar file systemsPaul Eggert-60/+87
2014-09-19doc: output correct --help references with --program-prefixPádraig Brady-1/+1
2014-09-08maint: prefer 'return status;' to 'exit (status);' in 'main'Paul Eggert-1/+1
2014-04-02head: port to Darwin and use simpler seeksPaul Eggert-92/+75
2014-03-31head: fix bug with head -c-N when stdin is not at startPaul Eggert-1/+1
2014-02-09head,tail: consistently diagnose write errorsPádraig Brady-49/+37
2014-02-09head: fix --lines=-0 outputting nothing if no newline at EOFАлексей Шилин-6/+21
2014-01-02maint: update all copyright year number rangesBernhard Voelker-1/+1
2013-07-12head: avoid redundant allocations when reading empty filesPádraig Brady-5/+4
2013-04-14head: with --bytes=-N only allocate memory as neededPádraig Brady-6/+22
2013-02-06maint: improve error messages upon failed read, write, access, closeBenno Schulenberg-1/+1
2013-01-23maint: define usage note about mandatory args centrallyBernhard Voelker-4/+3
2013-01-01maint: update all copyright year number rangesJim Meyering-1/+1
2012-06-05maint: mark new diagnostic for translationJim Meyering-1/+1
2012-06-05head: with --lines=-N (-n-N) reset file pointer on seekable inputJim Meyering-0/+8
2012-01-27maint: use single copyright year rangeJim Meyering-1/+1
2012-01-09maint: src/*.[ch]: convert more `...' to '...'Jim Meyering-1/+1
2012-01-09maint: src/*.c: change remaining quotes (without embedded spaces)Jim Meyering-7/+7
2012-01-09maint: convert `...' to '...' in --help outputJim Meyering-2/+2
2012-01-07maint: use new emit_try_help in place of equivalent fprintfJim Meyering-2/+1
2012-01-01maint: update all copyright year number rangesJim Meyering-1/+1
2011-08-13maint: remove empty statement after jump labelBernhard Voelker-1/+1
2011-06-09maint: remove unneeded includesPádraig Brady-1/+0
2011-05-28maint: remove useless (off_t) cast of lseek argJim Meyering-5/+5
2011-01-01maint: update all copyright year number rangesJim Meyering-1/+1
2010-06-08maint: adjust INT_BUFSIZE_BOUND usage for maintainabilityJim Meyering-4/+4
2010-01-01maint: update all FSF copyright year lists to include 2010Jim Meyering-2/+1