13,420
edits
Changes
no edit summary
'''<span style="color:blue;font-weight:bold;font-family:courier;">Syntax: sed [-n] 'address instruction' filename</span>'''
'''Note:'''
*The sed command reads '''all lines in the input file''' and will be exposed to the expression (contained in quotes).
* If the line matches the '''address''', then it will perform the '''instruction'''.
'''Address:'''
'''Note:'''
*The awk command reads '''all lines in the input file ''' and will be exposed to the expression (contained within quotes) for processing.
*Expression (contained in quotes) represents selection criteria, and action to execute (contained within braces) if selection criteria is matched
*If no pattern is specified, awk selects all lines in the input