Braces surround the action.
Unless a prior applied command has a next in it, every selector is tested against every line of the input data set. There must be as many values in the list as there are item descriptors in format . Values in print or printf may be constants, variables, or expressions in any order Operators - awk has many of the same operators as C, excepting the bit operators. It also adds some text processing operators. This reads a file of text and creates a file containing each unique word along with the number of occurrences of the word in the text.