Commit Graph
16659 Commits
Author SHA1 Message Date
Jim Meyering edd0e9f89b *** empty log message *** 2003-09-07 17:17:57 +00:00
Jim Meyering b628bdae1a *** empty log message *** 2003-09-07 17:17:54 +00:00
Jim Meyering fbb58571c6 (EXTRA_DIST): Add vfat. 2003-09-07 17:17:35 +00:00
Jim Meyering 1c7aabc4d2 *** empty log message *** 2003-09-07 17:16:31 +00:00
Jim Meyering 891878156b *** empty log message *** 2003-09-07 17:12:48 +00:00
Jim Meyering f5ca703c2c (po-check): Use cvsu, so that a temporary source
file in lib/ or src/ doesn't induce an unwarranted failure.
Add a kludge to filter out the sole generated source file that
also has translatable messages: false.c.
2003-09-07 17:12:34 +00:00
Jim Meyering b278b201b5 . 2003-09-07 16:57:30 +00:00
Jim Meyering 4492580885 *** empty log message *** 2003-09-07 16:46:16 +00:00
Jim Meyering 6119885e07 *** empty log message *** 2003-09-07 16:45:27 +00:00
Jim Meyering 0895ee0069 *** empty log message *** 2003-09-07 16:43:40 +00:00
Jim Meyering b3361039bb *** empty log message *** 2003-09-07 16:37:33 +00:00
Jim Meyering aafd2487a7 *** empty log message *** 2003-09-07 16:36:05 +00:00
Jim Meyering 61a679bbea *** empty log message *** 2003-09-07 16:34:01 +00:00
Jim Meyering 101f307f3c *** empty log message *** 2003-09-07 16:32:02 +00:00
Jim Meyering b2c5dd9d70 *** empty log message *** 2003-09-06 21:44:17 +00:00
Jim Meyering 220f481d5f *** empty log message *** 2003-09-06 21:37:44 +00:00
Jim Meyering 29b73a0e5e *** empty log message *** 2003-09-06 09:17:10 +00:00
Jim Meyering 0b8a15929c *** empty log message *** 2003-09-06 08:49:43 +00:00
Jim Meyering 93b183e3ad (enum): Add ALLOW_MISSING_OPTION.
(parse_options): Give a diagnostic for (but still accept) the
deprecated --allow-missing option.
2003-09-06 08:49:37 +00:00
Jim Meyering 00b25daa96 . 2003-09-05 20:55:28 +00:00
Jim Meyering 740b0b6e12 *** empty log message *** 2003-09-05 20:53:37 +00:00
Jim Meyering 1f4715e0e8 Don't ignore -S if input is a pipe. Bug report by Michael McFarland in
<http://mail.gnu.org/archive/html/bug-coreutils/2003-09/msg00008.html>.

(sort_buffer_size): Omit SIZE_BOUND arg.  Compute the
size_bound ourselves. if an input file is a pipe and the user
specified a size, use that size instead of trying to guess the
pipe size.  This has the beneficial side effect of avoiding the
overhead of default_sort_size in that case.  All callers changed.
(sort): Remove static var size; now done by sort_buffer_size.
2003-09-05 20:53:08 +00:00
Jim Meyering 098a0f56ca *** empty log message *** 2003-09-05 20:45:32 +00:00
Jim Meyering 1061c70284 (elide_tail_lines_pipe): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.
(struct linebuffer): Change nbytes and nlines
from unsigned int to size_t.  unsigned int is safe (after the
2003-09-03 patch) but size_t is cleaner.

Standardize on BUFSIZ as opposed to other macro names and values.
(BUFSIZE): Remove.  All uses changed to BUFSIZ.
2003-09-05 20:45:26 +00:00
Jim Meyering 968be3baa5 (pipe_lines, pipe_bytes): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.
(struct linebuffer, struct charbuffer): Change nbytes and nlines from
unsigned int to size_t.  unsigned int is safe (after the 2003-09-03 patch)
but size_t is cleaner.
(pipe_bytes): Likewise for local variable 'i', which was 'int'.

Standardize on BUFSIZ as opposed to other macro names and values.

(BUFSIZ) [!defined BUFSIZ]: Remove. stdio.h has always defined it,
and other code already assumes it's defined.
2003-09-05 20:44:20 +00:00
Jim Meyering 566dee1e96 *** empty log message *** 2003-09-05 19:11:20 +00:00
Jim Meyering 51fe03e45c Standardize on BUFSIZ as opposed to other macro names and values.
(BUFSIZ) [!defined BUFSIZ]: Don't define.
(IO_BUF_SIZE): Remove; replace all uses with sizeof io_buf.
(io_buf): IO_BUF_SIZE -> BUFSIZ.
2003-09-05 14:27:27 +00:00
Jim Meyering eb8fc598b0 *** empty log message *** 2003-09-05 07:56:52 +00:00
Jim Meyering df4a189e23 Wait .5 seconds for backgrounded process
to start, rather than just .1.  Upon failure, print unexpected state.
2003-09-05 07:56:39 +00:00
Jim Meyering 23181a481d *** empty log message *** 2003-09-05 06:59:32 +00:00
Jim Meyering 6d913bbe43 (onearg-2): Output should be empty. 2003-09-05 06:56:38 +00:00
Jim Meyering 1ba2d9615e (step): Default to 1.
(print_numbers): Allow the output to be empty.
(main): The default step is 1, even if LAST < FIRST;
as per documentation.
2003-09-05 06:54:59 +00:00
Jim Meyering 9746b175d7 *** empty log message *** 2003-09-05 06:43:14 +00:00
Jim Meyering 75c85c36af (wget_files): Temporarily disable, until master
versions are restored to ftp.gnu.org.
2003-09-05 06:43:03 +00:00
Jim Meyering 5fe692927c . 2003-09-04 22:28:35 +00:00
Jim Meyering 8863b3d3b3 . 2003-09-04 22:27:47 +00:00
Jim Meyering c4a4716553 *** empty log message *** 2003-09-04 22:27:07 +00:00
Jim Meyering a0a5e1ca28 (AM_INIT_AUTOMAKE): Specify automake-1.7.6. 2003-09-04 22:27:00 +00:00
Jim Meyering b9ebf17c3b *** empty log message *** 2003-09-04 22:25:58 +00:00
Jim Meyering 438038167d sort -t '\0' now uses a NUL tab.
sort option order no longer matters, unless POSIX requires it.
2003-09-04 22:25:53 +00:00
Jim Meyering c39acefee8 (sort invocation): -d now overrides -i.
"whitespace" -> "blanks"; "whitespace" isn't correct.
-t '\0' now specifies a NUL tab.
2003-09-04 22:25:34 +00:00
Jim Meyering d702490003 *** empty log message *** 2003-09-04 22:24:21 +00:00
Jim Meyering 4b60fac4da *** empty log message *** 2003-09-04 22:22:05 +00:00
Jim Meyering 221e569fbf This makes seq's --width (-w) option work properly even when the
endpoint requiring the largest width is negative and smaller than
the other endpoint.

(get_width_format): Include `-' in the set of bytes
allowed in a `simple' number (no decimal point, no exponent).
2003-09-04 22:21:25 +00:00
Jim Meyering 0bfd14e9b6 *** empty log message *** 2003-09-04 22:20:51 +00:00
Jim Meyering a1f9e115c7 *** empty log message *** 2003-09-04 22:13:20 +00:00
Jim Meyering 1871cb1fd0 *** empty log message *** 2003-09-04 22:13:08 +00:00
Jim Meyering 70293df29a (usage): Say "blanks" instead of "whitespace",
Similar fixes for many comments.
(TAB_DEFAULT): New constant, so that we can support NUL as
the field separator.
(tab): Now int, not char.  Initialize to TAB_DEFAULT.
(specify_sort_size): If multiple sizes are specified, use the largest.
(begfield, limfield): Support NUL tab char.
(set_ordering): Do not let -i override -d.
(main): Report an error if incompatible -o or -t options are given.
Report an error for "-t ''".  Allow "-t '\0'" to specify a NUL tab.
2003-09-04 22:12:59 +00:00
Jim Meyering 6503d273a2 [o2, nul-tab]: New tests for changes of 2003-09-02. 2003-09-04 22:11:16 +00:00
Jim Meyering 169a0a3f49 (elide_tail_lines_pipe): Don't truncate return value from safe_read. 2003-09-04 21:43:35 +00:00