mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
bat: add more information link (#4785)
* bat: add Spanish translation * bat: add suggestions Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * bat: add filename suggestions Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * bat: add page * bat: add page (en) * bat: fix empty line Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
This commit is contained in:
parent
25adf84c03
commit
51c0dd2ba4
2 changed files with 30 additions and 0 deletions
29
pages.es/common/bat.md
Normal file
29
pages.es/common/bat.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# bat
|
||||
|
||||
> Imprime y concatena archivos.
|
||||
> Un clon de `cat` con resaltado de sintaxis e integración con Git.
|
||||
> Más información: <https://github.com/sharkdp/bat>.
|
||||
|
||||
- Imprime los contenidos de un archivo a la salida estándar:
|
||||
|
||||
`bat {{archivo}}`
|
||||
|
||||
- Concatena varios archivos creando un nuevo archivo:
|
||||
|
||||
`bat {{archivo1}} {{archivo2}} > {{archivo_final}}`
|
||||
|
||||
- Añade múltiples archivos al final de un archivo objetivo:
|
||||
|
||||
`bat {{archivo1}} {{archivo2}} >> {{archivo_final}}`
|
||||
|
||||
- Numera las lineas del archivo:
|
||||
|
||||
`bat -n {{archivo}}`
|
||||
|
||||
- Muestra un archivo JSON con resaltado de sintaxis:
|
||||
|
||||
`bat --language json {{archivo.json}}`
|
||||
|
||||
- Muestra todos los lenguajes permitidos:
|
||||
|
||||
`bat --list-languages`
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
> Print and concatenate files.
|
||||
> A `cat` clone with syntax highlighting and Git integration.
|
||||
> More information: <https://github.com/sharkdp/bat>.
|
||||
|
||||
- Print the contents of a file to the standard output:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue