From 51c0dd2ba4cbce05ceed443399619c0f53ab4c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Covarrubias?= Date: Sat, 24 Oct 2020 09:45:49 -0300 Subject: [PATCH] bat: add more information link (#4785) * bat: add Spanish translation * bat: add suggestions Co-authored-by: Axel Navarro * bat: add filename suggestions Co-authored-by: Axel Navarro * bat: add page * bat: add page (en) * bat: fix empty line Co-authored-by: Axel Navarro --- pages.es/common/bat.md | 29 +++++++++++++++++++++++++++++ pages/common/bat.md | 1 + 2 files changed, 30 insertions(+) create mode 100644 pages.es/common/bat.md diff --git a/pages.es/common/bat.md b/pages.es/common/bat.md new file mode 100644 index 000000000..c285001d5 --- /dev/null +++ b/pages.es/common/bat.md @@ -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: . + +- 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` diff --git a/pages/common/bat.md b/pages/common/bat.md index fce3e2fce..549078b5f 100644 --- a/pages/common/bat.md +++ b/pages/common/bat.md @@ -2,6 +2,7 @@ > Print and concatenate files. > A `cat` clone with syntax highlighting and Git integration. +> More information: . - Print the contents of a file to the standard output: