I use the --colour option of grep a lot, but I often use less as well. How can I pipe grep results to less and still preserve the coloring. (Or is that possible?)
grep "search-string" -R * --colour | less
EDIT:
I'm looking for a direct solution or anything equivalent to this.
*
do? From the man page of grep:*: The preceding item will be matched zero or more times.
But I still don't understand..! @JeremyPowell