7
2
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
329 B

6 years ago
In order to actually get information about vehicles that might match our description,
we need to get multiple lines AROUND each match. We can use the -A, -B, or -C option with grep:
grep -A 5 "L337" mystery/vehicles
This will match the license plates that contain "L337" and, for each match, show us the five lines AFTER it.