Open main menu

CDOT Wiki β

Changes

Tutorial11: Sed & Awk Utilities

97 bytes added, 07:51, 17 March 2021
Using the sed Utility
'''How it Works:'''
* The sed command reads all lines in the input file and will be exposed to the expression expression�(i.e. area contained within quotes) one line at a time.
* The expression can be within single quotes or double quotes.
* The expression contains an address (match condition) and an instruction (operation).
* If the line matches the address, then it will perform the instruction.
* Lines will display be default unless the '''–n''' option is used to suppress default display
'''Address:'''
13,420
edits