How do i disable colouring on matched patterns when using grep?
-
Man page for grep: https://www.lightnetics.com/post/3317
Normally grep will out the matched pattern in colour if you do not want the colour output, you can run the following command:
The search string here is block.
$ grep --color=never block grepfile This is the first block This is the second block This is the third block
© Lightnetics 2024