1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-06 09:46:46 +02:00
Commit Graph

15857 Commits

Author SHA1 Message Date
Jim Meyering 13f017568f . 2003-05-14 09:50:55 +00:00
Jim Meyering 39beb31640 . 2003-05-14 09:50:38 +00:00
Jim Meyering 56e1e5d825 . 2003-05-14 09:36:01 +00:00
Jim Meyering c3e009a84a . 2003-05-14 09:35:33 +00:00
Jim Meyering c358b6fe16 . 2003-05-14 09:34:36 +00:00
Jim Meyering 4f821757d2 . 2003-05-14 09:33:42 +00:00
Jim Meyering b121f086e8 *** empty log message *** 2003-05-14 09:20:37 +00:00
Jim Meyering 85ad1d09c1 (AUTHORS): Enclose string in N_(...), now that it includes `and'. 2003-05-14 09:20:32 +00:00
Jim Meyering 0625941fb3 *** empty log message *** 2003-05-14 09:13:47 +00:00
Jim Meyering dc7b620a31 (usage): Don't use `,' as the thousands separator
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 09:13:26 +00:00
Jim Meyering e83a04a9d7 (usage): Don't use `,' as the thousands separator
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 09:12:43 +00:00
Jim Meyering 5413c2bbae Test that 'uniq -d -u' outputs nothing. 2003-05-14 08:35:57 +00:00
Jim Meyering c6ba6cc22e *** empty log message *** 2003-05-14 08:35:18 +00:00
Jim Meyering ad54994c9b Fix uniq to conform to POSIX, which requires that "uniq -d -u"
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-14 08:34:56 +00:00
Jim Meyering 88e00a1d3b *** empty log message *** 2003-05-14 08:05:49 +00:00
Jim Meyering 227971e576 (syntax-check): Add another check. 2003-05-14 08:05:44 +00:00
Jim Meyering 5d51fc8a5b (uniq invocation, squeezing, The uniq command):
Use "repeated" rather than "duplicate" to describe adjacent
duplicates; this simplifies the description and makes it more
consistent with POSIX.
(uniq invocation): Make it clear that -d and -u suppress the
output of lines, rather than cause some lines to be output.
Mention what happens if a line lacks enough fields or characters.
2003-05-14 07:58:40 +00:00
Jim Meyering 5f62a53f9c *** empty log message *** 2003-05-14 06:30:23 +00:00
Jim Meyering 01d63f13e8 Use tr's \n notation rather than \012. 2003-05-14 06:26:34 +00:00
Jim Meyering 00a770a30e Use tr's \n notation rather than \012. 2003-05-14 06:25:08 +00:00
Jim Meyering 6fb0b1d366 Use tr's \n notation rather than \012. 2003-05-14 06:24:43 +00:00
Jim Meyering a9335b4704 *** empty log message *** 2003-05-13 17:04:46 +00:00
Jim Meyering 98e8b5e058 Handle argc < optind. 2003-05-13 17:03:58 +00:00
Jim Meyering 5c0abf663a (elide_tail_lines_pipe): Don't apply cast to argument of free. 2003-05-13 14:54:31 +00:00
Jim Meyering 3a5e722af0 *** empty log message *** 2003-05-13 14:49:07 +00:00
Jim Meyering 1aa55ac277 (alloca): Don't apply cast to argument of free. 2003-05-13 14:48:36 +00:00
Jim Meyering 56a5857660 (rpl_putenv): Don't apply cast to argument of free. 2003-05-13 14:47:15 +00:00
Jim Meyering f775835533 (setenv): Don't apply cast to argument of free. 2003-05-13 14:46:55 +00:00
Jim Meyering 9d52ad8c28 *** empty log message *** 2003-05-13 14:45:33 +00:00
Jim Meyering 3b7798ab52 (struct F_triple) [name]: Remove const attribute.
(triple_free): Don't apply cast to argument of free.
(seen_file): Add cast here instead.
2003-05-13 14:45:00 +00:00
Jim Meyering 6fc0245123 (sort): Don't apply cast to argument of free. 2003-05-13 14:43:43 +00:00
Jim Meyering 40b700eadb (struct Src_to_dest) [name]: Remove const attribute.
(src_to_dest_free): Don't apply cast to argument of free.
2003-05-13 14:40:50 +00:00
Jim Meyering 80d799b8a2 (OLD): Don't apply cast to argument of free. 2003-05-13 14:38:40 +00:00
Jim Meyering 2a1e8507f4 (delseq, freeline): Don't apply cast to argument of free. 2003-05-13 14:38:18 +00:00
Jim Meyering aeec25d170 shorten long line 2003-05-13 14:37:45 +00:00
Jim Meyering 038a9b42a6 (init_fps, init_store_cols): Don't apply cast to argument of free. 2003-05-13 14:37:33 +00:00
Jim Meyering 25227196a8 (zaptemp): Don't apply cast to argument of free. 2003-05-13 14:36:29 +00:00
Jim Meyering b20134e12c Remove unnecessary cast of argument to free. twice more 2003-05-13 14:32:10 +00:00
Jim Meyering 949f3a3c76 Remove unnecessary cast of argument to free. 2003-05-13 14:31:39 +00:00
Jim Meyering 26532ef1f2 Include "quote.h".
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 13:25:10 +00:00
Jim Meyering 4641ffbefa *** empty log message *** 2003-05-13 12:42:16 +00:00
Jim Meyering eb66adf96f *** empty log message *** 2003-05-13 12:42:13 +00:00
Jim Meyering 4421b1a969 (true invocation): Mention that it is possible to
make true --help or true --version (in non-POSIX mode) exit nonzero.
2003-05-13 12:42:02 +00:00
Jim Meyering 8566426512 *** empty log message *** 2003-05-13 10:21:31 +00:00
Jim Meyering 0035f73f02 *** empty log message *** 2003-05-13 10:21:22 +00:00
Jim Meyering 5352c4a62b (elide_tail_lines_pipe): Use `if', not an assert.
Now that assert is no longer used, don't include <assert.h>.
2003-05-13 10:21:13 +00:00
Jim Meyering 320da0f8a8 *** empty log message *** 2003-05-12 15:12:11 +00:00
Jim Meyering d7b1b67638 *** empty log message *** 2003-05-12 15:07:09 +00:00
Jim Meyering 17adb8367a (ftw_startup): Always call free_cwd after restore_cwd. 2003-05-12 14:51:02 +00:00
Jim Meyering e55a05cecf *** empty log message *** 2003-05-12 09:36:38 +00:00