summaryrefslogtreecommitdiff
path: root/src/head.c
AgeCommit message (Expand)Author
2005-04-26Remove posixver.h and its uses.Paul Eggert
2005-04-11(head_file): Don't assume open does not return 0.Paul Eggert
2005-01-30(elide_tail_bytes_pipe): Correct wording in diagnostic.Jim Meyering
2004-09-21Remove unused "case 0".Paul Eggert
2004-08-03(presume_input_pipe, print_headers, have_read_stdin,Paul Eggert
2004-05-06(elide_tail_bytes_pipe): Use xnmalloc, rather than xmalloc.Jim Meyering
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
2003-10-18Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS changeJim Meyering
2003-09-18(WRITTEN_BY): Rename from AUTHORS.Jim Meyering
2003-09-18revert previous changeJim Meyering
2003-09-18Update AUTHORS definition to be a comma-separated list of strings and/or updateJim Meyering
2003-09-05(elide_tail_lines_pipe): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.Jim Meyering
2003-09-04(elide_tail_lines_pipe): Don't truncate return value from safe_read.Jim Meyering
2003-07-23Don't include headers already included by system.h:Jim Meyering
2003-07-11(diagnose_copy_fd_failure): New function, renamed fromJim Meyering
2003-07-10(usage): Use 1024*1024 in place of 1048576.Jim Meyering
2003-06-17(main): Call initialize_main.Jim Meyering
2003-05-21(elide_tail_lines_pipe): Fix a thinko.Jim Meyering
2003-05-14(usage): Document new feature: --bytes=-N and --lines=-N.Jim Meyering
2003-05-14(AUTHORS): Enclose string in N_(...), now that it includes `and'.Jim Meyering
2003-05-13(elide_tail_lines_pipe): Don't apply cast to argument of free.Jim Meyering
2003-05-13(elide_tail_lines_pipe): Use `if', not an assert.Jim Meyering
2003-05-12Include <assert.h>.Jim Meyering
2003-05-07Implement support so that `head --lines=-N' works on seekable files.Jim Meyering
2003-05-03Extend head to accept --lines=-N (--bytes=-N) and to print allJim Meyering
2002-10-07(head_bytes, head_lines): Adapt to new safe_read ABI.Jim Meyering
2002-08-31Change `exit (0)' to `exit (EXIT_SUCCESS)',Jim Meyering
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-02-16Include posixver.h.Jim Meyering
2002-02-11(head_lines): If we have read too much data, tryJim Meyering
2002-02-02Add more support for POSIX 1003.1-2001, which requires removal forJim Meyering
2001-12-01Reflect renaming to, and new usage of these macros:Jim Meyering
2001-12-01(usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTIONJim Meyering
2001-11-23Factor out some common strings to make translation easier.Jim Meyering
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
2001-11-04(usage): Say thatJim Meyering
2001-10-27Give an accurate diagnostic when `head --bytes=30M' fails.Jim Meyering
2001-08-18(head_bytes): Read no more than the specified number of bytes.Jim Meyering
2000-08-07(head): Call write_header here.Jim Meyering
2000-05-24(head_file): Use STDIN_FILENO in place of `0'.Jim Meyering
2000-05-20Arrange to call close_stdout upon exit. Don't close stdout explicitly.Jim Meyering
2000-05-12(string_to_integer): Restrict base to 10.Jim Meyering
1999-04-24Include new "xstrtol.h", not "xstrtoul.h".Jim Meyering
1999-04-04Standardize --help and --version processing.Jim Meyering
1999-04-03Use AUTHORS in place of string in parse_long_options call.Jim Meyering
1999-04-03Insert AUTHORS definition.Jim Meyering
1999-04-03Use PROGRAM_NAME in place of string in parse_long_options call.Jim Meyering
1999-04-03define PROGRAM_NAMEJim Meyering
1999-03-04Include long-options.hJim Meyering
1999-02-16update copyright datesJim Meyering