Sintaxis general para la manipulación de texto

–Sintaxis general para la manipulación de texto
utilizando PIPE, STDIN y STDOUT
# cat file1 file2 .. | command <> file1_in.txt_or_file1_out.txt

–Sintaxis general para manipular un texto de un fichero y
escribir el resultado en un fichero nuevo
# cat file1 | command( sed, grep, awk, grep, etc…) > result.txt

–Sintaxis general para manipular un texto de un fichero y
añadir resultado en un fichero existente
# cat file1 | command( sed, grep, awk, grep, etc…) » result.txt

Dejar un comentario