| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH SHUF "1" "June 2025" "GNU coreutils 9.7" "User Commands" |
| 3 |
.SH NAME |
| 4 |
shuf \- generate random permutations |
| 5 |
.SH SYNOPSIS |
| 6 |
.B shuf |
| 7 |
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR] |
| 8 |
.br |
| 9 |
.B shuf |
| 10 |
\fI\,-e \/\fR[\fI\,OPTION\/\fR]... [\fI\,ARG\/\fR]... |
| 11 |
.br |
| 12 |
.B shuf |
| 13 |
\fI\,-i LO-HI \/\fR[\fI\,OPTION\/\fR]... |
| 14 |
.SH DESCRIPTION |
| 15 |
.\" Add any additional description here |
| 16 |
.PP |
| 17 |
Write a random permutation of the input lines to standard output. |
| 18 |
.PP |
| 19 |
With no FILE, or when FILE is \-, read standard input. |
| 20 |
.PP |
| 21 |
Mandatory arguments to long options are mandatory for short options too. |
| 22 |
.TP |
| 23 |
\fB\-e\fR, \fB\-\-echo\fR |
| 24 |
treat each ARG as an input line |
| 25 |
.TP |
| 26 |
\fB\-i\fR, \fB\-\-input\-range\fR=\fI\,LO\-HI\/\fR |
| 27 |
treat each number LO through HI as an input line |
| 28 |
.TP |
| 29 |
\fB\-n\fR, \fB\-\-head\-count\fR=\fI\,COUNT\/\fR |
| 30 |
output at most COUNT lines |
| 31 |
.TP |
| 32 |
\fB\-o\fR, \fB\-\-output\fR=\fI\,FILE\/\fR |
| 33 |
write result to FILE instead of standard output |
| 34 |
.TP |
| 35 |
\fB\-\-random\-source\fR=\fI\,FILE\/\fR |
| 36 |
get random bytes from FILE |
| 37 |
.TP |
| 38 |
\fB\-r\fR, \fB\-\-repeat\fR |
| 39 |
output lines can be repeated |
| 40 |
.TP |
| 41 |
\fB\-z\fR, \fB\-\-zero\-terminated\fR |
| 42 |
line delimiter is NUL, not newline |
| 43 |
.TP |
| 44 |
\fB\-\-help\fR |
| 45 |
display this help and exit |
| 46 |
.TP |
| 47 |
\fB\-\-version\fR |
| 48 |
output version information and exit |
| 49 |
.SH AUTHOR |
| 50 |
Written by Paul Eggert. |
| 51 |
.SH "REPORTING BUGS" |
| 52 |
GNU coreutils online help: <https://www.gnu.org/software/coreutils/> |
| 53 |
.br |
| 54 |
Report any translation bugs to <https://translationproject.org/team/> |
| 55 |
.SH "SEE ALSO" |
| 56 |
Full documentation <https://www.gnu.org/software/coreutils/shuf> |
| 57 |
.br |
| 58 |
or available locally via: info \(aq(coreutils) shuf invocation\(aq |
| 59 |
.PP |
| 60 |
.br |
| 61 |
Packaged by Debian (9.7\-3) |
| 62 |
.br |
| 63 |
Copyright \(co 2025 Free Software Foundation, Inc. |
| 64 |
.br |
| 65 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 66 |
.br |
| 67 |
This is free software: you are free to change and redistribute it. |
| 68 |
.br |
| 69 |
There is NO WARRANTY, to the extent permitted by law. |