mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 19:55:27 +02:00
updated linux/shuf to match with osx/shuf (#2226)
This commit is contained in:
parent
13eed86527
commit
dd84496c5c
1 changed files with 5 additions and 5 deletions
|
@ -6,14 +6,14 @@
|
|||
|
||||
`shuf {{filename}}`
|
||||
|
||||
- Only output the first n entries of the result:
|
||||
- Only output the first 5 entries of the result:
|
||||
|
||||
`shuf -n {{n}} {{filename}}`
|
||||
`shuf -n {{5}} {{filename}}`
|
||||
|
||||
- Write output to another file:
|
||||
- Write the output to another file:
|
||||
|
||||
`shuf -o {{another_filename}} {{filename}}`
|
||||
`shuf {{filename}} -o {{output_filename}}`
|
||||
|
||||
- Generate random numbers in range:
|
||||
|
||||
`shuf -i {{low}}-{{high}}`
|
||||
`shuf -i {{1-10}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue