Mailinglist Archive: opensuse-de (3631 mails)

< Previous Next >
Re: Textstatistiken, z.B. Buchstabenverteilung
Hi Thomas Hofer, *,

Thomas Hofer wrote on Sun Aug 01, 2004 at 12:28:46PM +0200:
grep -o X dateiname | grep -c X

Nein, ich hatte folgendes im Sinn:

grep -c X dateiname

Laut Manpage hat grep prinzipiell folgende Parameter-Liste:

grep [options] PATTERN [FILE...]
gleicht sich doch mit obrigen ....
grep -o X dateiname schreibt alle X'se in je eine Zeile ...
| grep -c X bekommt das via stdin zugefuettert und wirft die Anzahl
raus ...

--
so long,
Rainer Bendig aka mindz PGP/GPG key (ID: 0xCC7EA575)
http://DigitallyImpressed.com Get it from wwwkeys.de.pgp.net
for contacting me take a look on http://digitallyimpressed.com/contact
----------------------------------------------------------------------
Don't reply to this e-mail address and please don't cc to me on lists.
If we meet on a list, you can be sure that i am already on the list.

< Previous Next >
Follow Ups