diff options
| author | Jim Meyering <jim@meyering.net> | 2005-01-08 12:01:40 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2005-01-08 12:01:40 +0000 |
| commit | 91fefc7f0d0c9be388b8f59eb86f1b41c0988935 (patch) | |
| tree | b6c9c6521f2a87ebc70b9f47126df5bbbb5d0e02 /src | |
| parent | (main): Check for column count overflow with usages like "pr -2147483648". (diff) | |
| download | coreutils-91fefc7f0d0c9be388b8f59eb86f1b41c0988935.tar.gz coreutils-91fefc7f0d0c9be388b8f59eb86f1b41c0988935.zip | |
`pr --columns=N' was not equivalent to `pr -N' when also using
either -s or -w.
(main): Set `explicit_columns' for --columns=N,
not just for -N. This bug has existed since the introduction
of the --columns=N option on 1998-08-15.
Diffstat (limited to 'src')
| -rw-r--r-- | src/pr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -916,6 +916,7 @@ main (int argc, char **argv) optarg); } columns = tmp_long; + explicit_columns = true; break; } |
