Changes

Jump to: navigation, search

Tutorial11: Sed & Awk Utilities

36 bytes added, 17 March
KEY CONCEPTS
* Can use a line number, to select a specific line (for example: 5)
* Can specify a range of line numbers (for example: 5,7)
* Regular expressions are contained within forward slashes�(e.g. /regular-expression/)* Can specify a regular expression to select all lines that match match�a pattern (e.g /^[0-9].*[0-9]$/) * When using regular expressions, you must use forward slash(es) /
* If NO address is present, the instruction will apply to ALL lines
 
[[Image:sed.png|thumb|right|500px|'''Common instructions''' to take action if text matches an address.]]
13,008
edits

Navigation menu