[plug] grep and locate

Shayne O'Neill shayne at guild.murdoch.edu.au
Fri Nov 5 14:51:58 WST 2004


locate foo | grep bar

--
"Well, I think if you say you're going to do something and don't do
it, that's trustworthiness."
-- George Bush on CNN online chat, Aug.30, 2000
RIAA Copyright notice trap: http://guild.murdoch.edu.au/~shayne/

On Fri, 5 Nov 2004, Mat Menzel wrote:

> G'day,
>
> I've a question about grep and locate. How would I write a command to, say
> look in every file with 'foo' in the title for the word 'bar'
>
> cheers,
> .   __________________________
> |  |                        -
> |--|     Mat Menzel        -
> |  |  Old School Guildy   -
> |  |  Honore l'étudiant   -
> |--|     en chimie         -
> |  |                        -
> |   ~~~~~~~~~~~~~~~~~~~~~~~~~~
> |     |        |        |
> |    _|________|________|__
> |   | Welcome to Zombo.com |
> |    ~~~~~~~~~~~~~~~~~~~~~~
> |
>
>
> _______________________________________________
> PLUG discussion list: plug at plug.linux.org.au
> http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>




More information about the plug mailing list