🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: duda con script de bash

#7748
From: catactttc
Date: Tue, 28 Jan 2003 15:02
24 lines
1800 bytes
In article <3E36949B.8F1ECC6C@menta.net>, David wrote:
>>
>> [...]
>>
> 
>  Y si suponemos que el fichero "entrada.txt" tiene lo siguiente:
>         pepe:123adee111
>         ana:2wdueu222
>         manolo:238982js
> 
> �Tambien me servira para borrar la linea entera?
> Es decir, que yo le paso el nombre del usuario (pepe, ana, etc) a borrar y me
> elimina toda la linea.
> 
> Saludos.
> David.
> 

Te convendr�a buscar informaci�n sobre como usar "expresiones
regulares", adem�s de pegarle un vistado a las "man pages" de los
programas utilizados en los diferentes ejemplos que se han publicado en
este hilo.

Un saludo.
Technical Details
Message-ID: <b1662h$lvu$1@peque.uv.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-ge.switch.ch!news.rediris.es!bashful.rediris.es!news.uv.es!not-for-mail
References: <3E32BC97.BE023DEF@menta.net> <slrnb36b0t.hg.arbeizaf@jupiter.olimpo> <slrnb3appd.bch.marmolejo@porta.til> <3E36949B.8F1ECC6C@menta.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,8fbbda953043e037
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-01-28 07:08:10 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-ge.switch.ch!news.rediris.es!bashful.rediris.es!news.uv.es!not-for-mail
From: catactttc <catactttc@nospam.aqui.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: duda con script de bash
Date: Tue, 28 Jan 2003 15:02:42 +0000 (UTC)
Organization: Universitat de Valencia
Lines: 24
Distribution: es
Message-ID: <b1662h$lvu$1@peque.uv.es>
References: <3E32BC97.BE023DEF@menta.net> <slrnb36b0t.hg.arbeizaf@jupiter.olimpo> <slrnb3appd.bch.marmolejo@porta.til> <3E36949B.8F1ECC6C@menta.net>
NNTP-Posting-Host: 213-98-236-134.uc.nombres.ttd.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: peque.uv.es 1043766162 22526 213.98.236.134 (28 Jan 2003 15:02:42 GMT)
X-Complaints-To: newsmanager@uv.es
NNTP-Posting-Date: Tue, 28 Jan 2003 15:02:42 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)