Jump to: navigation, search

Tutorial11: Sed & Awk Utilities

97 bytes added, 17 March
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

Navigation menu