Changes

Jump to: navigation, search

Tutorial11: Sed & Awk Utilities

11 bytes removed, 06:03, 21 July 2020
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
13,420
edits

Navigation menu