back
toc
next
Example 1
Slicing the input
bash$ ls -lg | awk '{ print $3, ":", $7 }'
Who tells awk which character to take as field separator?
And why are there spaces between the fields in the output string?