Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
# shuf
|
||||
|
||||
> generate random permutations
|
||||
> Generate random permutations.
|
||||
|
||||
- randomize the order of lines in a file and output the result
|
||||
- Randomize the order of lines in a file and output the result:
|
||||
|
||||
`shuf {{filename}}`
|
||||
|
||||
- only output the first n entries of the result
|
||||
- Only output the first n entries of the result:
|
||||
|
||||
`shuf -n {{n}} {{filename}}`
|
||||
|
||||
- write output to another file
|
||||
- Write output to another file:
|
||||
|
||||
`shuf -o {{another_filename}} {{filename}}`
|
||||
|
||||
- generate random numbers in range
|
||||
- Generate random numbers in range:
|
||||
|
||||
`shuf -i {{low}}-{{high}}`
|
||||
|
Reference in New Issue
Block a user