103.7 – Search text files using regular expressions
Weight
3
Description
Candidates should be able to manipulate files and text data using regular expressions. This objective includes creating simple regular expressions containing several notational elements as well as understanding the differences between basic and extended regular expressions. It also includes using regular expression tools to perform searches through a filesystem or file content.
Key Knowledge Areas
-
Create simple regular expressions containing several notational elements.
-
Understand the differences between basic and extended regular expressions.
-
Understand the concepts of special characters, character classes, quantifiers and anchors.
-
Use regular expression tools to perform searches through a filesystem or file content.
-
Use regular expressions to delete, change and substitute text.
Files, Terms, and Utilities
-
grep
-
egrep
-
fgrep
-
sed
-
regex(7)