[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bug with gnu grep and -v flag
From: |
Andreas Schwab |
Subject: |
Re: possible bug with gnu grep and -v flag |
Date: |
Fri, 14 Sep 2007 23:02:43 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
"Alex J. Avriette" <address@hidden> writes:
> gordon% curl -sl ftp://iso.netbsd.org/pub/NetBSD/iso/3.1/ | grep -e iso -e
> i386 -v torrent
> grep: torrent: No such file or directory
>
> I would expect that grep, reading from standard in, would not print lines
> matching "torrent."
-v does not take an argument, it is just a flag.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."