13,420
edits
Changes
→Using the awk Utility
'''How It Works:'''
* The '''awk ''' command reads all lines in the input file and will be exposed to the expression (contained within quotes) for processing.* The '''expression ''' (contained in quotes) represents '''selection criteria''', and �and '''action ''' to execute contained within braces '''{}'''* If if selection criteria is matched, then action (between braces) is executed.* The '''–F''' option can be used to specify the default '''field delimiter''' (separator) character<br>eg. '''awk –F”;”''' (would indicate a semi-colon delimited input file)�<br>
'''Selection Criteria'''