Mailinglist Archive: opensuse-programming-de (174 mails)

< Previous Next >
Re: grep Frage
  • From: David Haller <lists@xxxxxxxxxx>
  • Date: Wed, 21 Jan 2004 02:54:21 +0100
  • Message-id: <20040121015421.GA7363@xxxxxxxxxxxxxxxxxx>
Hallo,

Am Wed, 21 Jan 2004, Thomas Moritz schrieb:
>grep -v [2,4,6] test.txt
>filtert lediglich die 2, der Rest wird ignoriert!

man 7 regex

Was du eigentlich machen willst ist:

grep -v '[246]' test.txt

Bitte damit nochmal testen.

-dn'*tsk*'h

--
ASR is *not* a social froup... it's an anti-social one. -- Thorfinn

< Previous Next >
Follow Ups