Changes

Jump to: navigation, search

Tutorial11: Sed & Awk Utilities

14 bytes added, 08:54, 4 March 2021
Using the sed Utility
'''Address:'''
*can Can use a '''line number''', to select a specific line (for example: 5)*can Can specify a '''range of line numbers''' (for example: 5,7)*can Can specify a '''regular expression''' to select all lines that match�(e.g /^[0-9].*[0-9]$/) *'''Note:''' when When using regular expressions, you must delimit them with a<br>'''use forward-slash''' "'''(es) /'''" default * If NO address (if none is specified) present, the instruction will match every lineapply to ALL lines 
[[Image:sed.png|thumb|right|500px|'''Common instructions''' to take action if text matches an address.]]
13,420
edits

Navigation menu