diff options
author | Pádraig Brady <P@draigBrady.com> | 2009-04-06 08:42:15 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2009-04-07 19:01:46 +0100 |
commit | af5723c71e3efbfe60266162ebb5d07b45d72725 (patch) | |
tree | 0e4d0dfce546753ff8c0e749da14a6ba3a26a3b4 /src/sort.c | |
parent | 9fdf5845fc87135c4f68bce79f72a25d07130240 (diff) | |
download | coreutils-af5723c71e3efbfe60266162ebb5d07b45d72725.tar.xz |
shred,sort,shuf: don't use /dev/urandom by default
Suggestion from Steven Schveighoffer at:
http://savannah.gnu.org/patch/?6797
to greatly speed up the random passes done by shred.
* gl/lib/randread.c: Default to using the internal
pseudorandom generator, rather than reading /dev/urandom
* src/shred.c (usage): remove mention of /dev/urandom
* src/shuf.c (usage); ditto
* src/sort.c (usage): ditto
* doc/coreutils.text: Document the new behaviour
for aquiring random data.
Diffstat (limited to 'src/sort.c')
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index 5b63a25bb..2e6ce877d 100644 --- a/src/sort.c +++ b/src/sort.c @@ -339,7 +339,7 @@ Ordering options:\n\ fputs (_("\ -n, --numeric-sort compare according to string numerical value\n\ -R, --random-sort sort by random hash of keys\n\ - --random-source=FILE get random bytes from FILE (default /dev/urandom)\n\ + --random-source=FILE get random bytes from FILE\n\ -r, --reverse reverse the result of comparisons\n\ "), stdout); fputs (_("\ |