diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-03-27 11:06:00 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-04-04 02:55:55 +0100 |
commit | f7867e73caac82349e5623d04e46aaf784778644 (patch) | |
tree | 6a08f079b9829745b107d3972e762138dacc2ec5 /tests/df | |
parent | 34023817cb0225b50779a546a58e057e5e920d2c (diff) | |
download | coreutils-f7867e73caac82349e5623d04e46aaf784778644.tar.xz |
shuf: exit without reading if would never output
* src/shuf.c (main): If -n0 specified then no data would ever be output,
so exit without reading input.
* tests/misc/shuf.sh: Augment the related test with this case.
Diffstat (limited to 'tests/df')
0 files changed, 0 insertions, 0 deletions