13,420
edits
Changes
→Using the sed Utility
'''Address:'''
* Can use a line number, to select a specific line (for example: '''5''')* Can specify a range of line numbers (for example: '''5,7''')* Regular expressions are contained within forward slashes�slashes (e.g. /regular-expression/)* Can specify a regular expression to select all lines that match�a match a pattern (e.g '''/^[0-9].*[0-9]$/''')
* If NO address is present, the instruction will apply to ALL lines