At 10:40 AM 11/17/97 -0500, Mark Dickey wrote: >Since you are talking about grep, I figure that most people here are >familiar with it. So, what is the option to search in ASCII files only, >not lookin gin binary? > >I know there is an option, i used to use it, but I can't remember what it >is. I have looked though all of the docs that FreeBSD has, including the >man pages, but I can't find it. > >Is it not there and am I going crazy? There is no such option. At least not to my knowledge. Besides, how could it know which files are ascii and which aren't. Best thing you can do is use wildcards in the file name to match the extension. ie. grep blah *.[ch] Look for blah in all files ending in .c and .h /'''''''''''''''''\'\ The final aspiration of all coders? | | | | /* Sean Butler */ | | Sean Butler | | | Coder for finality.com 4000 | exit(0); | | Xin@finality.com | | | | | | \\//................\\\// +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST