Regex
While most will gravitate toward grep
to use regular expressions, the more efficient method is to use awk
. Even more efficient is to use built-in test ([
) when more full regular expressions are not required. All these methods can be made portable, but we will look at examples of inefficiencies and explore solutions.
Last updated