Woohoo ... flame war! * Andy Ross -- Thursday 20 June 2002 19:27: > I do this particular operation so much that I have a little 2-liner > "cgrep" script that looks for a string in all the C/C++ source files > under a directory.
Hey, "cgrep" is already defined like this: #!/bin/bash trap "echo -en '\\033[m'" 0 p=$1 && shift grep "$p" $*|sed "s,$p,^[[31;1m&^[[m,ig" ... over here. (A little bit hackish, but useful sometimes.) I couldn't agree more with what you said about all the wonderful, =flexible=(!) command line tools. Every one of them is worth learning its man page by heart. ;-) m. _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel