Files
coreutils/src
Pádraig Brady 760bc6f7e7 truncate: ignore whitespace in --size parameters
Without this, `truncate -s '> -1' F` would truncate F to length 0,
and `truncate -s " +1" F` would truncate F to 1 byte.  Now, each
elicits a diagnostic.
* src/truncate.c: Skip leading white space in the --size option
argument and any white space after one of the relative modifiers,
so that the presence of a +/- modifier can be detected reliably.
* tests/misc/truncate-parameters: Add tests for the above.
2008-06-30 10:23:17 +02:00
..
2008-06-06 14:16:45 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-02-28 19:53:07 +01:00
2008-02-28 19:53:07 +01:00
2005-06-02 05:17:24 +00:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2005-07-18 07:52:37 +00:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-03-16 19:04:29 +01:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-17 00:52:30 +02:00
2008-06-16 16:40:59 +02:00
2003-07-06 06:08:40 +00:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
…
…
…
…
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-17 08:17:14 +02:00
2008-06-02 14:40:26 +02:00
2008-06-02 14:40:26 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-27 16:34:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-16 16:40:59 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00
2008-06-16 16:40:59 +02:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2008-06-16 16:40:59 +02:00
2007-07-10 19:00:00 +02:00
2008-06-16 16:40:59 +02:00
2008-06-28 00:12:40 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00
2008-06-03 09:15:00 +02:00