13,420
edits
Changes
→Using the sed Utility
*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"/"<br>default address (if none is specified) will match every line