sort, shuf: minor improvement on the description (#20200)

Co-authored-by: Lena Pastwa <lena@lnps.me>
This commit is contained in:
Managor
2025-12-23 03:57:52 +02:00
committed by GitHub
parent 51e3a5e961
commit 95a05dc225
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,6 +15,6 @@
`shuf {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}`
- Generate 3 random numbers in the range 1-10 (inclusive):
- Generate 3 random numbers in the range 1-10 (inclusive, numbers can repeat):
`shuf {{[-n|--head-count]}} 3 {{[-i|--input-range]}} 1-10 {{[-r|--repeat]}}`
+1 -1
View File
@@ -19,7 +19,7 @@
`sort {{[-n|--numeric-sort]}} {{path/to/file}}`
- Sort `/etc/passwd` by the 3rd field of each line numerically, using `:` as a field separator:
- Sort `/etc/passwd` by the 3rd field onward of each line numerically, using `:` as a field separator:
`sort {{[-t|--field-separator]}} : {{[-k|--key]}} 3n /etc/passwd`