109 lines
3.0 KiB
HTML
109 lines
3.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of SHUF</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>SHUF</H1>
|
|
Section: User Commands (1)<BR>Updated: September 2019<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
shuf - generate random permutations
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>shuf</B>
|
|
|
|
[<I>,OPTION/</I>]... [<I>,FILE/</I>]
|
|
<BR>
|
|
|
|
<B>shuf</B>
|
|
|
|
<I>,-e /</I>[<I>,OPTION/</I>]... [<I>,ARG/</I>]...
|
|
<BR>
|
|
|
|
<B>shuf</B>
|
|
|
|
<I>,-i LO-HI /</I>[<I>,OPTION/</I>]...
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
|
|
Write a random permutation of the input lines to standard output.
|
|
<P>
|
|
|
|
With no FILE, or when FILE is -, read standard input.
|
|
<P>
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-e</B>, <B>--echo</B><DD>
|
|
treat each ARG as an input line
|
|
<DT id="2"><B>-i</B>, <B>--input-range</B>=<I>,LO-HI/</I><DD>
|
|
treat each number LO through HI as an input line
|
|
<DT id="3"><B>-n</B>, <B>--head-count</B>=<I>,COUNT/</I><DD>
|
|
output at most COUNT lines
|
|
<DT id="4"><B>-o</B>, <B>--output</B>=<I>,FILE/</I><DD>
|
|
write result to FILE instead of standard output
|
|
<DT id="5"><B>--random-source</B>=<I>,FILE/</I><DD>
|
|
get random bytes from FILE
|
|
<DT id="6"><B>-r</B>, <B>--repeat</B><DD>
|
|
output lines can be repeated
|
|
<DT id="7"><B>-z</B>, <B>--zero-terminated</B><DD>
|
|
line delimiter is NUL, not newline
|
|
<DT id="8"><B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="9"><B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Paul Eggert.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
GNU coreutils online help: <<A HREF="https://www.gnu.org/software/coreutils/">https://www.gnu.org/software/coreutils/</A>>
|
|
<BR>
|
|
|
|
Report shuf translation bugs to <<A HREF="https://translationproject.org/team/">https://translationproject.org/team/</A>>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2018 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="https://gnu.org/licenses/gpl.html">https://gnu.org/licenses/gpl.html</A>>.
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
Full documentation at: <<A HREF="https://www.gnu.org/software/coreutils/shuf">https://www.gnu.org/software/coreutils/shuf</A>>
|
|
<BR>
|
|
|
|
or available locally via: info '(coreutils) shuf invocation'
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="13"><A HREF="#lbAE">AUTHOR</A><DD>
|
|
<DT id="14"><A HREF="#lbAF">REPORTING BUGS</A><DD>
|
|
<DT id="15"><A HREF="#lbAG">COPYRIGHT</A><DD>
|
|
<DT id="16"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:27 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|