I am grepping the output of a command and I wish to only return specific, strict results.
I remember some iteration of grep had a strict option -s
/--strict
.
For example, grep -s bytes
would only return entries which mentioned the word "bytes" and not every word that contains bytes, like "megabytes", "kilobytes", etc.
1 Answers