Article View: es.comp.os.linux.programacion
Article #10184Re: cuestion de perl
From: J.A. Gutierrez
Date: Wed, 20 Mar 2002 14:14
Date: Wed, 20 Mar 2002 14:14
21 lines
1618 bytes
1618 bytes
[ Z A T O P E K ] <boli_NOSPAM_@excite.com> wrote: : TEngo un fichero con el formato: : From:direccion@dominio.com RELAY : From:direccion3@dominio.com RELAY : From:direccion2@dominio.com RELAY : Necesitaria saber como, con un script de perl ejecutando el scrip: : ./scrip.pl direccion@dominio.com puedo hacer que me borre esa linea del : archivo y no las demas. no uses perl, usa grep egrep -v ":$direccion " /etc/mail/access > /tmp/access.$$ && mv /tmp/access.$$ /etc/mail/access -- PGP and other useless info at \ http://www.cps.unizar.es/~spd/ \ finger://daphne.cps.unizar.es/spd \ Timeo Danaos et dona ferentes ftp://ivo.cps.unizar.es/pub/ \ (Virgilio)
Technical Details
Message-ID:
<a7a5gq$c37$1@news.unizar.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!news.unizar.es!not-for-mailReferences:
<a79pr5$jnm1r$1@ID-59646.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,97a7023fec9bff1d
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-20 05:47:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.rediris.es!news.unizar.es!not-for-mail
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: cuestion de perl
Date: 20 Mar 2002 14:14:50 GMT
Organization: Rank
Lines: 21
Message-ID: <a7a5gq$c37$1@news.unizar.es>
References: <a79pr5$jnm1r$1@ID-59646.news.dfncis.de>
NNTP-Posting-Host: daphne.cps.unizar.es
X-Trace: news.unizar.es 1016633690 12391 155.210.152.20 (20 Mar 2002 14:14:50 GMT)
X-Complaints-To: usenet@news.unizar.es
NNTP-Posting-Date: 20 Mar 2002 14:14:50 GMT
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (IRIX/6.2 (IP22))