|
Quick links
About
awk
Syntax
Examples
Related commands
Unix
main page
About awk
Originally based of the
awk script processing language awk also known as oawk, gawk, mawk and
nawk
allows
Syntax
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. Syntax is variable=value |
The awk program can consist of one or more awk commands separated
by a \n or semicolons.
Examples
awk myscript.sh
In the above
example this command would execute the awk script "myscript.sh".
Related commands
bc oawk gawk mawk nawk |
|
| Resolved | Were you able to locate the answer to your questions? |
|
|