On Wed, Nov 21, 2001 at 01:29:09AM -0800, Vineet Kumar wrote: > * John Griffiths ([EMAIL PROTECTED]) [011120 22:26]: > > $tail -f /var/log/apache/access.log |grep "[php|/ HTTP]" (still get > > everything) > > You see my point. You're really looking for parentheses, I think, > instead of square brackets. Use \(\) with grep or just () with egrep.
Similarly, with grep you need \| to separate alternatives; with egrep you just need |. -- Colin Watson [EMAIL PROTECTED]