🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: cuestion de perl

#10192
From: Jes
Date: Wed, 20 Mar 2002 19:00
17 lines
1264 bytes
Si no te importa que quede un hueco, una linea vacia
donde borras la que tu quieres, no es necesario usar
perl para algo tan sencillo. Desde linea de comando
puedes usar sed:

sed -e s/^direccion@dominio// fichero > fichero1

y en fichero1 tienes todo el contenido de fichero
excepto tu linea.


-- 
Jes
jjess@gmx.net
-------------
"He was a modest, good-humored boy.  It was Oxford that made him
insufferable."
Technical Details
Message-ID: <g8ma7a.4t.ln@alaska.the.world>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!npeer.kpnqwest.net!news.airtel.net!alaska.the.world!nobody
References: <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 11:01:52 PST
Mime-Version: 1.0
X-Newsreader: knews 1.0b.1
References: <a79pr5$jnm1r$1@ID-59646.news.dfncis.de>
From: jjess@gmx.net (Jes)
Subject: Re: cuestion de perl
Newsgroups: es.comp.os.linux.programacion
Content-Type: text/plain; charset=us-ascii
Date: Wed, 20 Mar 2002 20:00:32 +0100
Message-ID: <g8ma7a.4t.ln@alaska.the.world>
NNTP-Posting-Host: 212.166.136.112
X-Original-NNTP-Posting-Host: 212.166.136.112
X-Trace: news.airtel.net 1016650898 212.166.136.112 (20 Mar 2002 20:01:38 +0100)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!npeer.kpnqwest.net!news.airtel.net!alaska.the.world!nobody