When using grep, it will highlight any text in a line with a match to your regular expression.

What if I want this behaviour, but have grep print out all lines as well? I came up empty after a quick look through the grep man page.

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *