Re:Unix Commands I Abuse Every Day
by lmm on Wednesday September 05, 2012 @06:58PM
(#4481942)
The point of the first one is he's abusing grep as cat; what he really wants is a cat that shows filenames, but since there's no such thing he uses "grep ." as a substitute.
i don't understand his first one though. i thought both linux and bsd greps had the -H option (show filename).
here's some more:
(of course this assumes you keep filenames with spaces or other dangerous characters off your system.)