LAB5-CP4-Q2
regex basics
Checkpoint 4: grep Basics
4 pts
Use grep with ^, $, [0-9], \. anchors.
Exam questions that reference this lab question
- CSCD240-E1-A-Q29 directly_tests contacts.txt has Name<tab>number lines. Print only those whose number ends with 6.
- CSCD240-E1-B-Q22 directly_tests Print lines of fw.log matching DENY OR DROP (extended regex).