platform/upstream/coreutils.git
21 years agoMake sure `sha1sum --check' doesn't accept the BSD format.
Jim Meyering [Sat, 24 May 2003 16:49:40 +0000 (16:49 +0000)]
Make sure `sha1sum --check' doesn't accept the BSD format.

21 years ago*** empty log message ***
Jim Meyering [Wed, 21 May 2003 09:30:08 +0000 (09:30 +0000)]
*** empty log message ***

21 years ago(elide_tail_lines_pipe): Fix a thinko.
Jim Meyering [Wed, 21 May 2003 09:29:50 +0000 (09:29 +0000)]
(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.

21 years ago.
Jim Meyering [Tue, 20 May 2003 18:48:24 +0000 (18:48 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 15 May 2003 20:12:31 +0000 (20:12 +0000)]
*** empty log message ***

21 years agoRemove a space before a TAB.
Jim Meyering [Thu, 15 May 2003 20:12:26 +0000 (20:12 +0000)]
Remove a space before a TAB.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 14:43:16 +0000 (14:43 +0000)]
*** empty log message ***

21 years ago(usage): Document new feature: --bytes=-N and --lines=-N.
Jim Meyering [Wed, 14 May 2003 14:43:13 +0000 (14:43 +0000)]
(usage): Document new feature: --bytes=-N and --lines=-N.

21 years ago.
Jim Meyering [Wed, 14 May 2003 14:21:18 +0000 (14:21 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 14:20:58 +0000 (14:20 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 14:20:32 +0000 (14:20 +0000)]
*** empty log message ***

21 years agoSkip this test if `.' is on an XFS file system.
Jim Meyering [Wed, 14 May 2003 14:20:23 +0000 (14:20 +0000)]
Skip this test if `.' is on an XFS file system.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 14:20:04 +0000 (14:20 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 13:58:16 +0000 (13:58 +0000)]
*** empty log message ***

21 years ago(head invocation): Document --bytes=-N and --lines=-N.
Jim Meyering [Wed, 14 May 2003 13:58:13 +0000 (13:58 +0000)]
(head invocation): Document --bytes=-N and --lines=-N.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 10:08:25 +0000 (10:08 +0000)]
*** empty log message ***

21 years ago(TESTS): Add fd-leak.
Jim Meyering [Wed, 14 May 2003 10:08:21 +0000 (10:08 +0000)]
(TESTS): Add fd-leak.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 10:08:07 +0000 (10:08 +0000)]
*** empty log message ***

21 years agoNew file. Test for the bug in du that
Jim Meyering [Wed, 14 May 2003 10:08:02 +0000 (10:08 +0000)]
New file.  Test for the bug in du that
was fixed by the 2003-05-12 change to lib/ftw.c.

21 years ago.
Jim Meyering [Wed, 14 May 2003 09:50:55 +0000 (09:50 +0000)]
.

21 years ago.
Jim Meyering [Wed, 14 May 2003 09:50:38 +0000 (09:50 +0000)]
.

21 years ago.
Jim Meyering [Wed, 14 May 2003 09:36:01 +0000 (09:36 +0000)]
.

21 years ago.
Jim Meyering [Wed, 14 May 2003 09:35:33 +0000 (09:35 +0000)]
.

21 years ago.
Jim Meyering [Wed, 14 May 2003 09:34:36 +0000 (09:34 +0000)]
.

21 years ago.
Jim Meyering [Wed, 14 May 2003 09:33:42 +0000 (09:33 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 09:20:37 +0000 (09:20 +0000)]
*** empty log message ***

21 years ago(AUTHORS): Enclose string in N_(...), now that it includes `and'.
Jim Meyering [Wed, 14 May 2003 09:20:32 +0000 (09:20 +0000)]
(AUTHORS): Enclose string in N_(...), now that it includes `and'.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 09:13:47 +0000 (09:13 +0000)]
*** empty log message ***

21 years ago(usage): Don't use `,' as the thousands separator
Jim Meyering [Wed, 14 May 2003 09:13:26 +0000 (09:13 +0000)]
(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...'

21 years ago(usage): Don't use `,' as the thousands separator
Jim Meyering [Wed, 14 May 2003 09:12:43 +0000 (09:12 +0000)]
(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...'

21 years agoTest that 'uniq -d -u' outputs nothing.
Jim Meyering [Wed, 14 May 2003 08:35:57 +0000 (08:35 +0000)]
Test that 'uniq -d -u' outputs nothing.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 08:35:18 +0000 (08:35 +0000)]
*** empty log message ***

21 years agoFix uniq to conform to POSIX, which requires that "uniq -d -u"
Jim Meyering [Wed, 14 May 2003 08:34:56 +0000 (08:34 +0000)]
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.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 08:05:49 +0000 (08:05 +0000)]
*** empty log message ***

21 years ago(syntax-check): Add another check.
Jim Meyering [Wed, 14 May 2003 08:05:44 +0000 (08:05 +0000)]
(syntax-check): Add another check.

21 years ago(uniq invocation, squeezing, The uniq command):
Jim Meyering [Wed, 14 May 2003 07:58:40 +0000 (07:58 +0000)]
(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.

21 years ago*** empty log message ***
Jim Meyering [Wed, 14 May 2003 06:30:23 +0000 (06:30 +0000)]
*** empty log message ***

21 years agoUse tr's \n notation rather than \012.
Jim Meyering [Wed, 14 May 2003 06:26:34 +0000 (06:26 +0000)]
Use tr's \n notation rather than \012.

21 years agoUse tr's \n notation rather than \012.
Jim Meyering [Wed, 14 May 2003 06:25:08 +0000 (06:25 +0000)]
Use tr's \n notation rather than \012.

21 years agoUse tr's \n notation rather than \012.
Jim Meyering [Wed, 14 May 2003 06:24:43 +0000 (06:24 +0000)]
Use tr's \n notation rather than \012.

21 years ago*** empty log message ***
Jim Meyering [Tue, 13 May 2003 17:04:46 +0000 (17:04 +0000)]
*** empty log message ***

21 years agoHandle argc < optind.
Jim Meyering [Tue, 13 May 2003 17:03:58 +0000 (17:03 +0000)]
Handle argc < optind.

21 years ago(elide_tail_lines_pipe): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:54:31 +0000 (14:54 +0000)]
(elide_tail_lines_pipe): Don't apply cast to argument of free.

21 years ago*** empty log message ***
Jim Meyering [Tue, 13 May 2003 14:49:07 +0000 (14:49 +0000)]
*** empty log message ***

21 years ago(alloca): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:48:36 +0000 (14:48 +0000)]
(alloca): Don't apply cast to argument of free.

21 years ago(rpl_putenv): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:47:15 +0000 (14:47 +0000)]
(rpl_putenv): Don't apply cast to argument of free.

21 years ago(setenv): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:46:55 +0000 (14:46 +0000)]
(setenv): Don't apply cast to argument of free.

21 years ago*** empty log message ***
Jim Meyering [Tue, 13 May 2003 14:45:33 +0000 (14:45 +0000)]
*** empty log message ***

21 years ago(struct F_triple) [name]: Remove const attribute.
Jim Meyering [Tue, 13 May 2003 14:45:00 +0000 (14:45 +0000)]
(struct F_triple) [name]: Remove const attribute.
(triple_free): Don't apply cast to argument of free.
(seen_file): Add cast here instead.

21 years ago(sort): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:43:43 +0000 (14:43 +0000)]
(sort): Don't apply cast to argument of free.

21 years ago(struct Src_to_dest) [name]: Remove const attribute.
Jim Meyering [Tue, 13 May 2003 14:40:50 +0000 (14:40 +0000)]
(struct Src_to_dest) [name]: Remove const attribute.
(src_to_dest_free): Don't apply cast to argument of free.

21 years ago(OLD): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:38:40 +0000 (14:38 +0000)]
(OLD): Don't apply cast to argument of free.

21 years ago(delseq, freeline): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:38:18 +0000 (14:38 +0000)]
(delseq, freeline): Don't apply cast to argument of free.

21 years agoshorten long line
Jim Meyering [Tue, 13 May 2003 14:37:45 +0000 (14:37 +0000)]
shorten long line

21 years ago(init_fps, init_store_cols): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:37:33 +0000 (14:37 +0000)]
(init_fps, init_store_cols): Don't apply cast to argument of free.

21 years ago(zaptemp): Don't apply cast to argument of free.
Jim Meyering [Tue, 13 May 2003 14:36:29 +0000 (14:36 +0000)]
(zaptemp): Don't apply cast to argument of free.

21 years agoRemove unnecessary cast of argument to free. twice more
Jim Meyering [Tue, 13 May 2003 14:32:10 +0000 (14:32 +0000)]
Remove unnecessary cast of argument to free.  twice more

21 years agoRemove unnecessary cast of argument to free.
Jim Meyering [Tue, 13 May 2003 14:31:39 +0000 (14:31 +0000)]
Remove unnecessary cast of argument to free.

21 years agoInclude "quote.h".
Jim Meyering [Tue, 13 May 2003 13:25:10 +0000 (13:25 +0000)]
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.

21 years ago*** empty log message ***
Jim Meyering [Tue, 13 May 2003 12:42:16 +0000 (12:42 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 13 May 2003 12:42:13 +0000 (12:42 +0000)]
*** empty log message ***

21 years ago(true invocation): Mention that it is possible to
Jim Meyering [Tue, 13 May 2003 12:42:02 +0000 (12:42 +0000)]
(true invocation): Mention that it is possible to
make true --help or true --version (in non-POSIX mode) exit nonzero.

21 years ago*** empty log message ***
Jim Meyering [Tue, 13 May 2003 10:21:31 +0000 (10:21 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 13 May 2003 10:21:22 +0000 (10:21 +0000)]
*** empty log message ***

21 years ago(elide_tail_lines_pipe): Use `if', not an assert.
Jim Meyering [Tue, 13 May 2003 10:21:13 +0000 (10:21 +0000)]
(elide_tail_lines_pipe): Use `if', not an assert.
Now that assert is no longer used, don't include <assert.h>.

21 years ago*** empty log message ***
Jim Meyering [Mon, 12 May 2003 15:12:11 +0000 (15:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 12 May 2003 15:07:09 +0000 (15:07 +0000)]
*** empty log message ***

21 years ago(ftw_startup): Always call free_cwd after restore_cwd.
Jim Meyering [Mon, 12 May 2003 14:51:02 +0000 (14:51 +0000)]
(ftw_startup): Always call free_cwd after restore_cwd.

21 years ago*** empty log message ***
Jim Meyering [Mon, 12 May 2003 09:36:38 +0000 (09:36 +0000)]
*** empty log message ***

21 years agoInclude <assert.h>.
Jim Meyering [Mon, 12 May 2003 09:36:26 +0000 (09:36 +0000)]
Include <assert.h>.
(AUTHORS): Add my name.
(elide_tail_lines_pipe): New function.

21 years ago*** empty log message ***
Jim Meyering [Mon, 12 May 2003 08:23:00 +0000 (08:23 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 12 May 2003 08:19:14 +0000 (08:19 +0000)]
*** empty log message ***

21 years ago(my_strftime): Let the `-' (no-pad) flag affect
Jim Meyering [Mon, 12 May 2003 08:19:05 +0000 (08:19 +0000)]
(my_strftime): Let the `-' (no-pad) flag affect
the space-padded-by-default conversion specifiers, %e, %k, %l.

21 years ago.
Jim Meyering [Sun, 11 May 2003 13:20:15 +0000 (13:20 +0000)]
.

21 years ago.
Jim Meyering [Sun, 11 May 2003 09:18:44 +0000 (09:18 +0000)]
.

21 years ago.
Jim Meyering [Sun, 11 May 2003 06:35:10 +0000 (06:35 +0000)]
.

21 years ago(main): Handle argc < optind.
Jim Meyering [Sun, 11 May 2003 06:32:47 +0000 (06:32 +0000)]
(main): Handle argc < optind.

21 years ago(main): Handle argc < optind.
Jim Meyering [Sat, 10 May 2003 20:27:56 +0000 (20:27 +0000)]
(main): Handle argc < optind.

21 years ago(main): Handle argc == 0.
Jim Meyering [Sat, 10 May 2003 20:27:16 +0000 (20:27 +0000)]
(main): Handle argc == 0.

21 years ago(main): Handle argc < optind.
Jim Meyering [Sat, 10 May 2003 20:01:32 +0000 (20:01 +0000)]
(main): Handle argc < optind.

21 years ago*** empty log message ***
Jim Meyering [Sat, 10 May 2003 20:00:59 +0000 (20:00 +0000)]
*** empty log message ***

21 years ago(main): Handle argc == 0.
Jim Meyering [Sat, 10 May 2003 20:00:54 +0000 (20:00 +0000)]
(main): Handle argc == 0.

21 years agoHandle argc < optind.
Jim Meyering [Sat, 10 May 2003 19:58:04 +0000 (19:58 +0000)]
Handle argc < optind.

21 years ago(main): Handle argc == 0.
Jim Meyering [Sat, 10 May 2003 19:56:49 +0000 (19:56 +0000)]
(main): Handle argc == 0.

21 years agoHandle argc < optind.
Jim Meyering [Sat, 10 May 2003 19:56:10 +0000 (19:56 +0000)]
Handle argc < optind.

21 years ago(send_signals): Don't check command line arguments here.
Jim Meyering [Sat, 10 May 2003 15:45:00 +0000 (15:45 +0000)]
(send_signals): Don't check command line arguments here.
(main): Check them here instead.  Handle argc < optind.

21 years agoHandle argc < optind.
Jim Meyering [Sat, 10 May 2003 15:39:39 +0000 (15:39 +0000)]
Handle argc < optind.

21 years agoHandle argc < optind.
Jim Meyering [Sat, 10 May 2003 15:00:00 +0000 (15:00 +0000)]
Handle argc < optind.

21 years agoHandle argc < optind.
Jim Meyering [Sat, 10 May 2003 14:59:04 +0000 (14:59 +0000)]
Handle argc < optind.

21 years agoHandle argc < optind.
Jim Meyering [Sat, 10 May 2003 14:58:15 +0000 (14:58 +0000)]
Handle argc < optind.

21 years ago(main): Set program_name before first use.
Jim Meyering [Sat, 10 May 2003 14:54:23 +0000 (14:54 +0000)]
(main): Set program_name before first use.
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.

21 years ago*** empty log message ***
Jim Meyering [Sat, 10 May 2003 14:53:51 +0000 (14:53 +0000)]
*** empty log message ***

21 years ago(syntax-check): Check for `error (EXIT_SUCCESS,'.
Jim Meyering [Sat, 10 May 2003 14:53:47 +0000 (14:53 +0000)]
(syntax-check): Check for `error (EXIT_SUCCESS,'.

21 years ago(main): Handle argc < optind.
Jim Meyering [Sat, 10 May 2003 14:39:16 +0000 (14:39 +0000)]
(main): Handle argc < optind.

21 years ago(main): Handle argc < optind.
Jim Meyering [Sat, 10 May 2003 14:37:12 +0000 (14:37 +0000)]
(main): Handle argc < optind.

21 years ago*** empty log message ***
Jim Meyering [Sat, 10 May 2003 14:34:24 +0000 (14:34 +0000)]
*** empty log message ***

21 years ago(main): Handle argc < optind.
Jim Meyering [Sat, 10 May 2003 14:33:24 +0000 (14:33 +0000)]
(main): Handle argc < optind.

21 years agoadd semicolon
Jim Meyering [Sat, 10 May 2003 14:19:44 +0000 (14:19 +0000)]
add semicolon

21 years ago(main): When failing due to too few arguments, also say
Jim Meyering [Sat, 10 May 2003 14:17:46 +0000 (14:17 +0000)]
(main): When failing due to too few arguments, also say
that rather than just "Try `uname --help' for more information.".

21 years ago*** empty log message ***
Jim Meyering [Sat, 10 May 2003 14:14:51 +0000 (14:14 +0000)]
*** empty log message ***