Matching on boolean values using switch statements
A different way to think about switch statements, using a boolean value to evaluate against each case’s logical expression for comparison.
The functional and performance differences of sed, awk and other Unix parsing utilities
What is the difference between the Unix utilities sed, awk and grep?
Search and replace using regular expression callbacks
How can you have more programmatic control of replacements in regex expressions?