13,420
edits
Changes
→Using the awk Utility
'''Patterns:Regular Expressions'''
*Regular Expressions��You You can use a regular expression, enclosed within slashes, as a pattern.
*The ~ operator tests whether a field or variable matches a regular expression
*The !~ operator tests for no match.
*You can perform both numeric and string comparisons using relational operators
*You can combine any of the patterns using the Boolean operators �|| (OR) and && (AND) Patterns: Relational Operators�� *The following operators (in the table below) can be used with the awk utility to pattern searching. *Since those symbols are used within the expression, they are NOT confused with redirection symbols.
=INVESTIGATION 1: USING THE SED UTILITY=