A guide to intermediate awk scripting
This article explores awk's capabilities, which are easier to use now that you know how to structure your command into an executable script.
Logical operators and conditionals
You can use the logical operators and (written &&) and or (written ||) to add specificity to your conditionals.
For example, to select and print only records with the string "purple" in the second column and an amount less than five in the third column:
read more
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.