ok, ok, ok ya lo realice hace rato con esto:
cat archivo.txt | grep -v 'palabra' > archivo_nuevo.txt
gracias.
END!
2005/8/26, Rodrigo Salinas <[EMAIL PROTECTED]>:
>
> Hola:
> Con esto, no imprimes las lineas con algun texto:
>
> cat <archivo> | awk '!/<texto eliminado>/{print $0}'
>
> Rodrigo A. Salinas O.
> Universidad de Chile
> ________________________________________
> De: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] En nombre de Julio Retamal Rojas
> Enviado el: Viernes, 26 de Agosto de 2005 15:39
> Para: Discusion de Linux en Castellano
> Asunto: Eliminar linea de un archivo similar a comando GREP
>
> Tengo un archivo que contiene 640.000 lineas y hay lineas que tienen un
> texto en especial y necesito hacer un proceso que busque en todo el archivo
> y elimine esa linea.
>
>
> tengo hecho esto solamente pero no se como dar la instruccion para
> eliminarla
>
> Con esto listo las lineas en las cuales esta el texto
>
> cat xaa | grep 'is taked'
>
>
> --
> Julio Cesar Retamal Rojas
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.sitenet.cl
> Linux Counter #383800 http://counter.li.org
>
>
>
--
Julio Cesar Retamal Rojas
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.sitenet.cl
Linux Counter #383800 http://counter.li.org
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL:
http://listas.inf.utfsm.cl/pipermail/linux/attachments/20050826/4e27f77f/attachment.html
From [EMAIL PROTECTED] Fri Aug 26 19:17:25 2005
From: [EMAIL PROTECTED] (Matias Valdenegro T.)
Date: Fri Aug 26 19:15:25 2005
Subject: Rendimiento en distribuciones : mito o realidad?
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
El Vie 26 Ago 2005 18:21, Horst von Brand escribió:
> En la lista del kernel hace an~os que dicen que -O3 /empeora notoriamente/
> el rendimiento. Mediciones en mano. Y las distribuciones compilan con -O2
> por alguna razon... Lo unico es un posible -fomit-frame-pointer, que se
> nota algo mas con bibliotecas compartidas. La arquitectura exacta tiene
> algun efecto, quiza 5% en sumando el total.
[EMAIL PROTECTED] hunts $ cat /etc/make.conf
CFLAGS="-O3 -march=pentium3 -pipe"
> Compilador usado? Una version mas nueva puede optimizar mas
> agresivamente...
gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1,
pie-8.7.7.1)
Tambien comprobado en Debian. Ahh, BTW, KDE no ES UN KERNEL :)
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL:
http://listas.inf.utfsm.cl/pipermail/linux/attachments/20050826/1997a730/attachment.html
From [EMAIL PROTECTED] Fri Aug 26 19:37:15 2005
From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Iv=E1n_Castro_M=2E-?=)
Date: Fri Aug 26 19:35:08 2005
Subject: =?iso-8859-1?q?Re=3A_Re=3A_OT=3A_=2E=3A=3A_Art=EDculo_Nuevo_en_D?=
=?iso-8859-1?q?ebianchile=2Ecl_=3A=3A=2E?=
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
El 26/08/05, Horst von Brand<[EMAIL PROTECTED]> escribió:
> Iván Castro M.- <[EMAIL PROTECTED]> wrote:
> > El 25/08/05, Miguel Angel Amador L<[EMAIL PROTECTED]> escribió:
>
> [...]
>
> > > Sin armar polemica ... como dice el dicho:
> > > "Linux is for people who hate Windows, BSD is for
> > > people who love UNIX"
> > > :-)
>
> > 100% concuerdo contigo...
>
> No veo el sentido... Cuando conoci Unix, fue amor a primera vista; uso
> Linux desde sus primeros comienzos (y he picado algunas cosas en el
> tambien); Hasefroch me es substancialmente indiferente. Y en mas de un
> sentido, Linux /es/ el heredero de la tradicion Unix.
>
> > pero aun no creo estar preparado para saltar a bsd... ;)
>
A cual de las 4 ramas? Y te quedaras tranquilo con el soporte
subdesarrollado de hardware que tienen?
jajajajajajaj por lo mismo, aun no ando preparado para saltar a *bsd,
no importa "que sabor..."
=)
> --
> Dr. Horst H. von Brand User #22616 counter.li.org
> Departamento de Informatica Fono: +56 32 654431
> Universidad Tecnica Federico Santa Maria +56 32 654239
> Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
>
--
Iván Castro M. - www.debianchile.cl
+56 (9) 407 60 04
*Disclaimer:*
This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law. If you are not the intended recipient, you should
delete this message. Any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly
prohibited.