mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
shuf: add Dutch translation and align pages (#13044)
* shuf: add Dutch translation and align pages * Update shuf.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update shuf.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
This commit is contained in:
parent
9f5612ec15
commit
3cdca255a4
7 changed files with 54 additions and 14 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Sólo muestra las 5 primeras entradas del resultado:
|
||||
|
||||
`shuf --head-count={{5}} {{nombre_archivo}}`
|
||||
`shuf --head-count=5 {{nombre_archivo}}`
|
||||
|
||||
- Escribe el resultado en otro archivo:
|
||||
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
- Genera números aleatorios en el rango 1-10:
|
||||
|
||||
`shuf --input-range={{1-10}}`
|
||||
`shuf --input-range=1-10`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Hanya mengoutputkan 5 entri dari hasil:
|
||||
|
||||
`shuf --head-count={{5}} {{nama_file}}`
|
||||
`shuf --head-count=5 {{nama_file}}`
|
||||
|
||||
- Menuliskan output ke file lain:
|
||||
|
||||
|
@ -17,4 +17,4 @@
|
|||
|
||||
- Men-generate angka acak dari 1-10:
|
||||
|
||||
`shuf --input-range={{1-10}}`
|
||||
`shuf --input-range=1-10`
|
||||
|
|
20
pages.nl/common/shuf.md
Normal file
20
pages.nl/common/shuf.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# shuf
|
||||
|
||||
> Genereer willekeurige permutaties.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/shuf>.
|
||||
|
||||
- Wijzig willekeurig de volgorde van regels in een bestand en toon het resultaat:
|
||||
|
||||
`shuf {{pad/naar/bestand}}`
|
||||
|
||||
- Toon alleen de eerste 5 regels van het resultaat:
|
||||
|
||||
`shuf --head-count=5 {{pad/naar/bestand}}`
|
||||
|
||||
- Schrijf de uitvoer naar een ander bestand:
|
||||
|
||||
`shuf {{pad/naar/invoer_bestand}} --output={{pad/naar/uitvoer_bestand}}`
|
||||
|
||||
- Genereer 3 willekeurige getallen in het bereik van 1 tot 10 (inclusief):
|
||||
|
||||
`shuf --head-count=3 --input-range=1-10 --repeat`
|
20
pages.nl/osx/shuf.md
Normal file
20
pages.nl/osx/shuf.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# shuf
|
||||
|
||||
> Genereer willekeurige permutaties.
|
||||
> Meer informatie: <https://keith.github.io/xcode-man-pages/shuf.1.html>.
|
||||
|
||||
- Wijzig willekeurig de volgorde van regels in een bestand en toon het resultaat:
|
||||
|
||||
`shuf {{pad/naar/bestand}}`
|
||||
|
||||
- Toon alleen de eerste 5 regels van het resultaat:
|
||||
|
||||
`shuf --head-count=5 {{pad/naar/bestand}}`
|
||||
|
||||
- Schrijf de uitvoer naar een ander bestand:
|
||||
|
||||
`shuf {{pad/naar/invoer_bestand}} --output={{pad/naar/uitvoer_bestand}}`
|
||||
|
||||
- Genereer willekeurige getallen in het bereik van 1 tot 10:
|
||||
|
||||
`shuf --input-range=1-10`
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
- 只输出结果的前 5 条:
|
||||
|
||||
`shuf --head-count={{5}} {{文件名}}`
|
||||
`shuf --head-count=5 {{路径/到/文件}}`
|
||||
|
||||
- 将结果输出写入另一个文件:
|
||||
|
||||
`shuf {{文件名}} --output={{输出_文件名}}`
|
||||
`shuf {{路径/到/输入文件}} --output={{路径/到/输出文件}}`
|
||||
|
||||
- 生成范围(1-10)内的随机数:
|
||||
|
||||
`shuf --input-range={{1-10}}`
|
||||
`shuf --input-range=1-10`
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
- Only output the first 5 entries of the result:
|
||||
|
||||
`shuf --head-count={{5}} {{path/to/file}}`
|
||||
`shuf --head-count=5 {{path/to/file}}`
|
||||
|
||||
- Write the output to another file:
|
||||
|
||||
`shuf {{path/to/input}} --output={{path/to/output}}`
|
||||
`shuf {{path/to/input_file}} --output={{path/to/output_file}}`
|
||||
|
||||
- Generate 3 random numbers in the range 1-10 (inclusive):
|
||||
|
||||
`shuf --head-count={{3}} --input-range={{1-10}} --repeat`
|
||||
`shuf --head-count=3 --input-range=1-10 --repeat`
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
- Randomize the order of lines in a file and output the result:
|
||||
|
||||
`shuf {{filename}}`
|
||||
`shuf {{path/to/file}}`
|
||||
|
||||
- Only output the first 5 entries of the result:
|
||||
|
||||
`shuf --head-count={{5}} {{filename}}`
|
||||
`shuf --head-count=5 {{path/to/file}}`
|
||||
|
||||
- Write output to another file:
|
||||
|
||||
`shuf {{filename}} --output={{output_filename}}`
|
||||
`shuf {{path/to/input_file}} --output={{ath/to/output_file}}`
|
||||
|
||||
- Generate random numbers in the range 1 to 10:
|
||||
|
||||
`shuf --input-range={{1-10}}`
|
||||
`shuf --input-range=1-10`
|
||||
|
|
Loading…
Add table
Reference in a new issue