On Fri, Nov 23, 2001 at 02:33:31PM +0100, Schnorbus, Patrick wrote:
> may you help me? i need a regex for grep, to find lines containing NOT:
> ^192.168
> 212.23.138

  grep -v '^192\.168' | grep -v '212\.23\.138'

or:

  grep -v '\(^192\.168\|212\.23\.138\)'

-- 
Colin Watson                                  [EMAIL PROTECTED]

Reply via email to