Regular Expressions
Pattern Matching Exercise 3
- Using only the knowledge that you have gained in the course
to this point, try the following exercise:
Exercise |
- Run the example "pat2" as follows: pat2 < pat.dat
- Copy the example "pat2" into a new script called "pat3".
- Make "pat3" print only 1st address lines (Hint: they start with
a number)
|

Start
|

Solution
|