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
..
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2003-08-15 09:09:35 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-11 09:37:15 +00:00
2005-03-09 10:17:30 +00:00
2005-03-15 18:09:05 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
1997-12-06 21:08:41 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2005-03-09 10:17:30 +00:00
2002-08-04 11:04:38 +00:00
1999-05-12 15:54:52 +00:00
2004-03-24 17:40:29 +00:00
2004-06-23 15:07:00 +00:00
2005-01-13 22:13:53 +00:00
2005-01-17 22:40:57 +00:00
2005-01-05 22:08:48 +00:00
2004-06-23 15:07:00 +00:00
2000-10-31 19:33:30 +00:00
2005-01-30 14:28:36 +00:00
2004-05-31 12:16:47 +00:00
2005-03-09 10:17:30 +00:00
2005-01-13 22:16:29 +00:00
2004-06-23 15:07:00 +00:00
2002-07-01 21:15:13 +00:00
2005-01-30 14:29:03 +00:00
2003-07-11 20:40:28 +00:00
2005-01-30 14:30:10 +00:00