LXer: A guide to intermediate awk scripting
by LXer from LinuxQuestions.org on (#4V0Z1)
Published at LXer:
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 conditionalsYou 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
Read More...


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 conditionalsYou 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
Read More...