mirror of https://github.com/CrimsonTome/tldr.git
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>beep
parent
25adf84c03
commit
51c0dd2ba4
|
@ -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.
|
> Print and concatenate files.
|
||||||
> A `cat` clone with syntax highlighting and Git integration.
|
> 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:
|
- Print the contents of a file to the standard output:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue