mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
Base: Add man page for shuf
This commit is contained in:
parent
12d6845c4e
commit
c87053c685
Notes:
sideshowbarker
2024-07-17 03:30:41 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/c87053c685 Pull-request: https://github.com/SerenityOS/serenity/pull/18884 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/BenWiederhake ✅
1 changed files with 19 additions and 0 deletions
19
Base/usr/share/man/man1/shuf.md
Normal file
19
Base/usr/share/man/man1/shuf.md
Normal 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
|
Loading…
Reference in a new issue