From 82219d0879aee5d47abccfeab6b7ca5894e5e522 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Sat, 11 Mar 2023 20:54:53 +0000 Subject: [PATCH] Base: Add missing options to sort man page --- Base/usr/share/man/man1/sort.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Base/usr/share/man/man1/sort.md b/Base/usr/share/man/man1/sort.md index 6a0c004bcf..e38e6c6a6c 100644 --- a/Base/usr/share/man/man1/sort.md +++ b/Base/usr/share/man/man1/sort.md @@ -12,6 +12,14 @@ $ sort [INPUT] Sort each lines of INPUT (or standard input). A quick sort algorithm is used. +## Options + +* `-k keydef`, `--key-field keydef`: The field to sort by +* `-u`, `--unique`: Don't emit duplicate lines +* `-n`, `--numeric`: Treat the key field as a number +* `-t char`, `--sep char`: The separator to split fields by +* `-r`, `--reverse`: Sort in reverse order + ## Examples ```sh