shuf: add Spanish translation (#10363)
* shuf: add Spanish translation * Update shuf.md --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
20
pages.es/osx/shuf.md
Normal file
20
pages.es/osx/shuf.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# shuf
|
||||||
|
|
||||||
|
> Genera permutaciones aleatorias.
|
||||||
|
> Más información: <https://www.unix.com/man-page/linux/1/shuf/>.
|
||||||
|
|
||||||
|
- Ordena aleatoriamente las líneas de un fichero y muestra el resultado:
|
||||||
|
|
||||||
|
`shuf {{nombre_archivo}}`
|
||||||
|
|
||||||
|
- Sólo muestra las 5 primeras entradas del resultado:
|
||||||
|
|
||||||
|
`shuf --head-count={{5}} {{nombre_archivo}}`
|
||||||
|
|
||||||
|
- Escribe el resultado en otro archivo:
|
||||||
|
|
||||||
|
`shuf {{nombre_archivo}} --output={{nombre_archivo_salida}}`
|
||||||
|
|
||||||
|
- Genera números aleatorios en el rango 1-10:
|
||||||
|
|
||||||
|
`shuf --input-range={{1-10}}`
|
Reference in New Issue
Block a user