Base: Add man page for shuf

This commit is contained in:
Tim Ledbetter 2023-05-16 21:55:53 +01:00 committed by Andrew Kaster
parent 12d6845c4e
commit c87053c685

View file

@ -0,0 +1,19 @@
## Name
shuf - shuffle input lines randomly
## Synopsis
```sh
$ shuf [--head-count count] [--repeat] [--zero-terminated] [file]
```
## Options
* `-n count`, `--head-count count`: Output at most "count" lines
* `-r`, `--repeat`: Pick lines at random rather than shuffling. The program will continue indefinitely if no `-n` option is specified
* `-z`, `--zero-terminated`: Split input on \0, not newline
## Arguments
* `file`: File