Команда awk
Средство шаблонного сканирования и обработки позволяет выполнять скрипты.
awk [program | -f program file] [flags / variables] [files]
| -f program file | Run an awk script from the specified file instead of from the command line. |
| variable | Initializes the awk variable with the specified. Синтаксис is variable=value |
The awk program can consist of one or more awk commands separated by a \n or semicolons.
awk myscript.sh
In the above example this command would execute the awk script "myscript.sh".