13,420
edits
Changes
→Using the sed Utility
*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"/" <br>default address (if none is specified) will match every line
[[Image:sed.png|thumb|right|500px|Instructions to take action if text matches an address.]]