13,420
edits
Changes
→Using the sed Utility
*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
Instruction:
*Action to take for matched line(s)
*Refer to table on right-side for list of some common instructions and their purpose
===Using the awk Utility===