Mailinglist Archive: opensuse-de (1791 mails)
| < Previous | Next > |
Re: Anzahl der Zugriffe
- From: David Haller <lists@xxxxxxxxxx>
- Date: Fri, 17 Nov 2006 23:35:10 +0100
- Message-id: <20061117223510.GA13340@xxxxxxxxxxxxxxxxxx>
Hallo,
Am Fre, 17 Nov 2006, Andreas Winkelmann schrieb:
># netstat -ant|sed -n '/^tcp\s*\d*\s*\d*\s*[^\s]*:25\s.*ESTABLISHED/p'|wc -l
^^^^^^
Das \s, \d usw. sind keine POSIX-REs sondern perlre.
$ echo -e 'abc\na b\n123' | sed -n '/\s/p;/\d/p;'
$
Siehe: man 7 regex
-dnh
--
It is impossible to make anything foolproof because fools are so
ingenious. -- from the fortune file
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
Am Fre, 17 Nov 2006, Andreas Winkelmann schrieb:
># netstat -ant|sed -n '/^tcp\s*\d*\s*\d*\s*[^\s]*:25\s.*ESTABLISHED/p'|wc -l
^^^^^^
Das \s, \d usw. sind keine POSIX-REs sondern perlre.
$ echo -e 'abc\na b\n123' | sed -n '/\s/p;/\d/p;'
$
Siehe: man 7 regex
-dnh
--
It is impossible to make anything foolproof because fools are so
ingenious. -- from the fortune file
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
| < Previous | Next > |