summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-05-14.Jim Meyering
2003-05-14(AUTHORS): Enclose string in N_(...), now that it includes `and'.Jim Meyering
2003-05-14(usage): Don't use `,' as the thousands separatorJim Meyering
in e.g. 1,000,000 and 1,048,576. Instead, do this: `SIZE may be ..., MB 1000*1000, M 1024*1024 and so on...'
2003-05-14(usage): Don't use `,' as the thousands separatorJim Meyering
in e.g. 1,000,000 and 1,048,576. Instead, do this: `SIZE may be ..., MB 1000*1000, M 1024*1024 and so on...'
2003-05-14Fix uniq to conform to POSIX, which requires that "uniq -d -u"Jim Meyering
must output nothing. Problem reported by Josh Hyman. (enum output_mode, mode): Remove, replacing with: (output_unique, output_first_repeated, output_later_repeated): New vars. All uses of "mode" changed to use these variables, which are not mutually exclusive as "mode" was. (writeline): New arg "match", used to control whether to obey output_first_repeated or output_later_repeated. All callers changed. (check_file, main): Adjust to above changes.
2003-05-13Handle argc < optind.Jim Meyering
2003-05-13(elide_tail_lines_pipe): Don't apply cast to argument of free.Jim Meyering
2003-05-13(struct F_triple) [name]: Remove const attribute.Jim Meyering
(triple_free): Don't apply cast to argument of free. (seen_file): Add cast here instead.
2003-05-13(sort): Don't apply cast to argument of free.Jim Meyering
2003-05-13(struct Src_to_dest) [name]: Remove const attribute.Jim Meyering
(src_to_dest_free): Don't apply cast to argument of free.
2003-05-13(OLD): Don't apply cast to argument of free.Jim Meyering
2003-05-13(delseq, freeline): Don't apply cast to argument of free.Jim Meyering
2003-05-13shorten long lineJim Meyering
2003-05-13(init_fps, init_store_cols): Don't apply cast to argument of free.Jim Meyering
2003-05-13(zaptemp): Don't apply cast to argument of free.Jim Meyering
2003-05-13Remove unnecessary cast of argument to free. twice moreJim Meyering
2003-05-13Remove unnecessary cast of argument to free.Jim Meyering
2003-05-13Include "quote.h".Jim Meyering
Use quote in diagnostics. Change many error format strings from just `%s' to e.g., `error reading %s'. (pipe_lines): Change type of parameter, n_lines, to uintmax_t. Rewrite newline-counting loop to use memchr.
2003-05-13(elide_tail_lines_pipe): Use `if', not an assert.Jim Meyering
Now that assert is no longer used, don't include <assert.h>.
2003-05-12Include <assert.h>.Jim Meyering
(AUTHORS): Add my name. (elide_tail_lines_pipe): New function.
2003-05-11.Jim Meyering
2003-05-11(main): Handle argc < optind.Jim Meyering
2003-05-10(main): Handle argc < optind.Jim Meyering
2003-05-10(main): Handle argc == 0.Jim Meyering
2003-05-10(main): Handle argc < optind.Jim Meyering
2003-05-10(main): Handle argc == 0.Jim Meyering
2003-05-10Handle argc < optind.Jim Meyering
2003-05-10(main): Handle argc == 0.Jim Meyering
2003-05-10Handle argc < optind.Jim Meyering
2003-05-10(send_signals): Don't check command line arguments here.Jim Meyering
(main): Check them here instead. Handle argc < optind.
2003-05-10Handle argc < optind.Jim Meyering
2003-05-10Handle argc < optind.Jim Meyering
2003-05-10Handle argc < optind.Jim Meyering
2003-05-10Handle argc < optind.Jim Meyering
2003-05-10(main): Set program_name before first use.Jim Meyering
Remove that (redundant) first use. Don't exit successfully just because --verbose was specified. Pass 0, not EXIT_SUCCESS, as first argument to error; when that parameter is 0, error does not exit.
2003-05-10(main): Handle argc < optind.Jim Meyering
2003-05-10(main): Handle argc < optind.Jim Meyering
2003-05-10(main): Handle argc < optind.Jim Meyering
2003-05-10add semicolonJim Meyering
2003-05-10(main): When failing due to too few arguments, also sayJim Meyering
that rather than just "Try `uname --help' for more information.".
2003-05-10(main): When failing due to unaccepted arguments,Jim Meyering
also say `too many arguments' rather than just `Try `uname --help' for more information.'.
2003-05-10(main): Handle argc < optind.Jim Meyering
2003-05-10(main): Don't segfault when argc < optind.Jim Meyering
2003-05-10(main): Use error, rather than fprintf, for the sake of consistency.Jim Meyering
2003-05-10(main): Test for the case of no arguments before computing n_files.Jim Meyering
2003-05-10(main): Test for `missing argument' before computing n_files.Jim Meyering
2003-05-10Include error.h.Jim Meyering
2003-05-09(main): Don't overrun array bound if argc is 0.Jim Meyering
2003-05-09fix off-by-one error in last changeJim Meyering
2003-05-09(main): Don't overrun array bound if argc is 0.Jim Meyering
That would happen when invoked via: execl ("/usr/bin/sort", NULL);