03-30-07 12:17 PM
2007-03-29, 10:10(-07), SpreadTooThin:
> I'm grepping through my C++ code for a delete that uses []
>
> How (in tcsh on MAC OS X) do I grep for that?
>
> grep [] *.cpp *.h
>
> doesn't work...
>
> grep "[]" *.cpp *.h
>
> doesn't work either....
[...]
grep -F '[]' *.cpp *.h
sometimes refered to as fgrep.
--
Stéphane
[ Post a follow-up to this message ]
|