Bill Ricker wrote:
>>   Or, if you only have an old grep, but do have Perl, the following should 
>> work:
> 
> The Andy and the "ack" project have built a better grep with perl.

Cool. By default ack ignores plain text files, so you have to tell it to 
include them even when explicitly specifying the file. Here is an ack 
command that solves the OP's problem:

ack --text '^\*(?!INDICATOR)' myfile.txt

Kent
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to