mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
shuf: expand short options to long ones (#6001)
This commit is contained in:
parent
33b5fcd7bd
commit
23b9d8fe69
1 changed files with 3 additions and 3 deletions
|
@ -9,12 +9,12 @@
|
|||
|
||||
- Only output the first 5 entries of the result:
|
||||
|
||||
`shuf -n {{5}} {{filename}}`
|
||||
`shuf --head-count={{5}} {{filename}}`
|
||||
|
||||
- Write the output to another file:
|
||||
|
||||
`shuf {{filename}} -o {{output_filename}}`
|
||||
`shuf {{filename}} --output={{output_filename}}`
|
||||
|
||||
- Generate 3 random numbers in the range 1-10 (inclusive):
|
||||
|
||||
`shuf -n {{3}} -i {{1-10}} -r`
|
||||
`shuf --head-count={{3}} --input-range={{1-10}} --repeat`
|
||||
|
|
Loading…
Add table
Reference in a new issue