SHUFFLE
Section: User Commands (1)
Updated: December 2004
Index
NAME
shuffle - shuffle and print arguments
SYNOPSIS
shuffle
[OPTIONS] [--] [ARG]...
shuffle
OPTION
DESCRIPTION
Shuffle and print the ARG(s) to standard output.
- -c, --count=NUM
-
print only the first NUM ARG(s) after shuffling.
If 0, print all shuffled ARG(s). Default: 0.
- -s, --separator=STR
-
use STR as the output field separator, instead
of a newline.
- --help
-
display this help and exit.
- --version
-
display version information and exit.
Note that option processing stops at the first non-option.
EXAMPLE
To list no more than three files randomly selected from the
/tmp
directory:
-
shuffle -c 3 `ls -1 /tmp`
AUTHOR
Written by Michael J. Pomraning.
COPYRIGHT
Copyright © 2004 Michael J. Pomraning
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLE
-
- AUTHOR
-
- COPYRIGHT
-