13,420
edits
Changes
→Using the sed Utility
Sed Utility Usage:
'''Syntax: ��sed sed [-n] 'address instruction' filename''' �
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)
*can specify a regular expression to select all lines that match �(e.g /^happy[0-9]/)
*Note: when using regular expressions, you must delimit them with a forward-slash"/" default address (if none is specified) will match every line