[wellylug] stupid regexp question

Phillip Hutchings sitharus at sitharus.com
Fri Jul 1 23:29:04 NZST 2005

On 1/07/2005, at 9:49 PM, Jamie Baddeley wrote:

> ps -ef | grep ssh AND apache
> or similar.
> I suspect what I want is not simple string matching as some  
> buffering is
> required.
> jamie

Can you explain more?  As others have said you probably want and OR  
match as grep uses  line breaks as field delimiters.

Phillip Hutchings
phillip.hutchings at sitharus.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2234 bytes
Desc: not available
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20050701/e31a9e06/attachment.bin 

More information about the wellylug mailing list