From c87053c685733063171a40e7582ef90f4c9acc37 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Tue, 16 May 2023 21:55:53 +0100 Subject: [PATCH] Base: Add man page for shuf --- Base/usr/share/man/man1/shuf.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Base/usr/share/man/man1/shuf.md diff --git a/Base/usr/share/man/man1/shuf.md b/Base/usr/share/man/man1/shuf.md new file mode 100644 index 0000000000..f1aadaaab6 --- /dev/null +++ b/Base/usr/share/man/man1/shuf.md @@ -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