Re: gnu grep auf 2.5 updaten

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Thu, 12 Aug 2004 10:13:37 +0200 (CEST)

thomas peter <peter(at)bnt.de> wrote:
> wie kann ich denn mein grep auf 2.5 updaten?
> laut
> http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/src/gnu/usr.bin/grep/
> ist in 4.10 als auch in 5.2.1 immer grep 2.4x
> manuell bei FSF besorgen und selbst compilen?

Wenn Du's unbedingt zu brauchen glaubst, dann ja. Aber
da bist Du offenbar der einzige, sonst wär's schon in der
Ports-Collection.

> konkret hätte ich gerne grep -o
> -o, --only-matching
> Show only the part of a matching line that matches
> PATTERN.

Auweia, für sowas gibt's doch sed (oder awk etc.).
grep hat ohnehin bereits viel zu viele überflüssige
Optionen (IMO).

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"And believe me, as a C++ programmer, I don't hesitate to question
the decisions of language designers.  After a decent amount of C++
exposure, Python's flaws seem ridiculously small." -- Ville Vainio
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 12 Aug 2004 - 10:14:01 CEST

search this site