Commit Graph
20330 Commits
Author SHA1 Message Date
Jim Meyering c7b2637d88 *** empty log message *** 2003-05-24 17:22:06 +00:00
Jim Meyering 55dab17c42 (split_3): Accept the BSD format only when in MD5 mode. 2003-05-24 16:55:37 +00:00
Jim Meyering fab4d80dfb New tests for --check exit status, and for BSD-style checksum files. 2003-05-24 16:55:21 +00:00
Jim Meyering 75247be90c (bsd_split_3): New function.
(split_3): Detect checksums from BSD 'md5' command and handle them
using bsd_split_3.
2003-05-24 16:51:52 +00:00
Jim Meyering 92359d2df0 Make sure `sha1sum --check' doesn't accept the BSD format. 2003-05-24 16:49:40 +00:00
Jim Meyering e2ceb48225 *** empty log message *** 2003-05-21 09:30:08 +00:00
Jim Meyering dadd6992a2 (elide_tail_lines_pipe): Fix a thinko.
This sort of thing is why it'd be *Really Good* to factor
out the common code used here and in tail.c.
2003-05-21 09:29:50 +00:00
Jim Meyering 23dbc2747d . 2003-05-20 18:48:24 +00:00
Jim Meyering 8f3b0f9c1f *** empty log message *** 2003-05-15 20:12:31 +00:00
Jim Meyering 7651fac5e3 Remove a space before a TAB. 2003-05-15 20:12:26 +00:00
Jim Meyering 6fcc182f3f *** empty log message *** 2003-05-14 14:43:16 +00:00
Jim Meyering c86a6cc089 (usage): Document new feature: --bytes=-N and --lines=-N. 2003-05-14 14:43:13 +00:00
Jim Meyering b438bad2a8 . 2003-05-14 14:21:18 +00:00
Jim Meyering 5bd6b069d9 *** empty log message *** 2003-05-14 14:20:58 +00:00
Jim Meyering 5c6ae386f4 *** empty log message *** 2003-05-14 14:20:32 +00:00
Jim Meyering 8f4221ebd2 Skip this test if `.' is on an XFS file system. 2003-05-14 14:20:23 +00:00
Jim Meyering aade1ba993 *** empty log message *** 2003-05-14 14:20:04 +00:00
Jim Meyering 9a00ec8821 *** empty log message *** 2003-05-14 13:58:16 +00:00
Jim Meyering d4b2b56f61 (head invocation): Document --bytes=-N and --lines=-N. 2003-05-14 13:58:13 +00:00
Jim Meyering 48450c549f *** empty log message *** 2003-05-14 10:08:25 +00:00
Jim Meyering 4b9b4b374d (TESTS): Add fd-leak. 2003-05-14 10:08:21 +00:00
Jim Meyering 9992038455 *** empty log message *** 2003-05-14 10:08:07 +00:00
Jim Meyering b09ee97a1a New file. Test for the bug in du that
was fixed by the 2003-05-12 change to lib/ftw.c.
2003-05-14 10:08:02 +00:00
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