Changes

Jump to: navigation, search

Tutorial11: Sed & Awk Utilities

407 bytes added, 07:20, 21 July 2020
Using the awk Utility
*If no pattern is specified, awk selects all lines in the input
*If no action is specified, awk copies the selected lines to standard output
 
 
'''Patterns:'''
 
*Regular Expressions��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).
=INVESTIGATION 1: USING THE SED UTILITY=
13,420
edits

Navigation menu