🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #12714

Manipular expresion

#12714
From: Reinoso G.
Date: Fri, 01 Jun 2001 23:47
23 lines
1999 bytes
Hola grupo

resulta que estoy un poco cansado de meter a los spammer en los filtros a
mano, as� que aprovechando la opci�n pipe tanto del pine como del slrn
quiero hacerme un script que lo haga.

Yo paso el post mediente la tuber�a as script, si lo filtro con grep me
puedo quedar con la l�nea s�lo del from; pero ahora lo que quiero hacer es
transformar el:
From: dfgdfg <fgs@dds.com>
a una expresi�n regular �til para el leafnode.

�qu� tengo que usar?

-- 


������������������������������������������������
��  Reinoso G.	EA4BAO / NENE
		      ��
��  r einoso.bao@wanadoo.e s		      ��
��  http://perso.wanadoo.es/reinoso.bao	      ��
������������������������������������������������
Technical Details
Message-ID: <slrn9hgac9.lr.reinoso@EA4BAO.PLLANO.ESP.EU>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!reinoso

Show Full Headers
Complete Article Headers
X-Google-Language: PORTUGUESE,ASCII
X-Google-Thread: f86c8,bb4da85a8b503176,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-06-02 02:56:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!reinoso
From: reinoso@EA4BAO.PLLANO.ESP.EU (Reinoso G.)
Newsgroups: es.comp.os.linux.programacion
Subject: Manipular expresion
Date: Sat, 2 Jun 2001 01:47:21 +0200
Organization: Puertollano CITY
Lines: 23
Message-ID: <slrn9hgac9.lr.reinoso@EA4BAO.PLLANO.ESP.EU>
Reply-To: rei noso.bao@wanadoo.e s
NNTP-Posting-Host: 62-36-18-94.dialup.uni2.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: m2wpersoisp01.wanadoo.es 991475656 27963 62.36.18.94 (2 Jun 2001 09:54:16 GMT)
X-Complaints-To: usenet@wanadoo.es
NNTP-Posting-Date: Sat, 2 Jun 2001 09:54:16 +0000 (UTC)
User-Agent: slrn/0.9.5.7 (UNIX)