diff --git a/pages.es/common/wc.md b/pages.es/common/wc.md index 11a58bb85..9c38ac0ee 100644 --- a/pages.es/common/wc.md +++ b/pages.es/common/wc.md @@ -1,24 +1,28 @@ # wc -> Cuenta líneas, palabras, o bytes. +> Cuenta líneas, palabras, y bytes. > Más información: . -- Cuenta las líneas en un archivo: +- Cuenta todas las líneas en un archivo: -`wc -l {{ruta/al/archivo}}` +`wc --lines {{ruta/al/archivo}}` -- Cuenta las palabras en un archivo: +- Cuenta todas las palabras en un archivo: -`wc -w {{ruta/al/archivo}}` +`wc --words {{ruta/al/archivo}}` -- Cuenta caracteres (bytes) en un archivo: +- Cuenta todos los bytes en un archivo: -`wc -c {{ruta/al/archivo}}` +`wc --bytes {{ruta/al/archivo}}` -- Cuenta caracteres en un archivo (considerando los caracteres de varios bytes): +- Cuenta todos los caracteres en un archivo (considerando los caracteres de varios bytes): -`wc -m {{ruta/al/archivo}}` +`wc --chars {{ruta/al/archivo}}` -- Usa la entrada estandar para contar líneas, palabras o caracteres (bytes), en ese orden: +- Cuenta todas las lineas, palabras y bytes desde stdin: `{{find .}} | wc` + +- Cuenta la longitud de la linea más larga en número de caracteres: + +`wc --max-line-length {{ruta/al/archivo}}` diff --git a/pages/common/wc.md b/pages/common/wc.md index 797ba6554..7204e84f4 100644 --- a/pages/common/wc.md +++ b/pages/common/wc.md @@ -1,28 +1,28 @@ # wc -> Count lines, words, or bytes. +> Count lines, words, and bytes. > More information: . -- Count lines in file: +- Count all lines in a file: -`wc -l {{file}}` +`wc --lines {{path/to/file}}` -- Count words in file: +- Count all words in a file: -`wc -w {{file}}` +`wc --words {{path/to/file}}` -- Count characters (bytes) in file: +- Count all bytes in a file: -`wc -c {{file}}` +`wc --bytes {{path/to/file}}` -- Count characters in file (taking multi-byte character sets into account): +- Count all characters in a file (taking multi-byte characters into account): -`wc -m {{file}}` +`wc --chars {{path/to/file}}` -- Use standard input to count lines, words and characters (bytes) in that order: +- Count all lines, words and bytes from `stdin`: `{{find .}} | wc` - Count the length of the longest line in number of characters: -`wc --max-line-length {{file}}` +`wc --max-line-length {{path/to/file}}`