Files
coreutils/tests/pr
Jim Meyering fd304f1e0e Both pr -0' and e.g., pr -03' would evoke `column count too large'.
`pr -0' should give a better diagnostic and `pr -03' should be
equivalent to `pr -3'.

(parse_column_count): Change return type to void.
Call error (EXIT_FAILURE, ... for an invalid string.
(main): Allocate space for column_count_string using malloc.
Accumulate all old-style column-count digits before converting.
When the number of columns is specified via both old-style,
(e.g., -3), and a long option (--columns=5), ensure that only
the last one specified takes effect.

Add tests for the above.
2005-03-15 18:09:05 +00:00
..
.
1997-01-30 03:22:44 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
2005-01-08 20:27:43 +00:00
.
2005-03-09 10:17:30 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
1999-04-15 13:26:50 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
.
1996-12-28 05:14:37 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00
1999-04-15 13:26:50 +00:00