loading...

re: Seeing Context with `grep` VIEW POST

TOP OF THREAD FULL DISCUSSION
re: No, because that's not its job. If you want search highlighting use a colourised grep. If you just want to see the whole file, use cat. Do one thin...

Yeah cool, just checking. Thanks for clarifying. This post was mostly about different ways to see more of the file as you searched for specific things, but you are right that if all you want to do is see the contents of the file, cat is the best option for short files. I appreciate the addition!

code of conduct - report abuse