[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian]:grep ??



On Wed, Mar 29, 2000 at 07:43:02PM +0200, Dr . Albert K . Petersheim wrote:
: Heiko Schlittermann schrieb am Mittwoch, den 29. März 2000:
: 
: <Text>
: %
: Mon, 27 Mar 2000 - 08:21:31    isdn101.dialin.uni-wuppertal.de Mozilla/4.5 [en] (Win98; I)
: Mon, 27 Mar 2000 - 11:19:15     ch3blm.bellglobal.com   Mozilla/3.01 (compatible;)
: Mon, 27 Mar 2000 - 14:19:13     www3.urz.uni-wuppertal.de       Mozilla/4.08 [en] (X11; I; SunOS 5.7 sun4u; Nav)
: Mon, 27 Mar 2000 - 18:36:27     210.70.55.244   Mozilla/3.01 (compatible;)
: Mon, 27 Mar 2000 - 18:43:34     proxy2.netway.at        Mozilla/4.0 (compatible; MSIE 5.0; Windows 95)
: Mon, 27 Mar 2000 - 18:53:42     ABE039B7.ipt.aol.com    Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
: Mon, 27 Mar 2000 - 21:49:42     t1p061.at-316.netway.at Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; QXW0330d; DigExt)
: %
: <Text>
: ...
: 
: also wohl letzteres. 
: Weisst du Rat?

Mit grep wird das nix.  Eher mit Perl oder sed.

perl -n -e '/^%/ ... /^%/ and /^%/ || print; ' <input


    Best regards from Dresden/Germany 
    Viele Gruesse aus Dresden        
    Heiko Schlittermann
-- 
 SCHLITTERMANN --------------------- internet & unix support -
 <a href="http://debian.schlittermann.de/";> Debian 2.x CD </a>
 Heiko Schlittermann HS12-RIPE finger:heiko@schlittermann.de -
 pgp: A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 -------

------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     738


Reply to: