🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: duda con script de bash

#7754
From: Esteban Navarro
Date: Tue, 28 Jan 2003 17:07
29 lines
1762 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<publicado y enviado>

catactttc dijo:

>> grep -v pepe fichero | cut -c 6-14 > fichero2
 
> Me parece que te equivocas, 'grep -v string' hace que se muestren TODAS
> las l�neas __MENOS__ las que contengan la cadena "string"; el cut en este
> caso har� que se corten las dem�s lineas.
 
> Para hacer eso, no borrar toda la l�nea, simplemente hay que usar sed o
> awk
 
Tienes raz�n, se me ha ido la olla.

- -- 
Esteban Navarro
Manuales enlaces y programacion en Linux:
http://www.personal.able.es/ensoriano
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+NrjFoVO1uCntWAwRAn9RAJ9qsf/xVBhw8/uXLlE+5Ayr4fJCdQCfT4Yp
CE07yDkt7ZuCjBFx4PPm4BM=
=iZdD
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <b16db5$vjtd6$1@ID-158006.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!62.101.160.33!not-for-mail
References: <3E32BC97.BE023DEF@menta.net> <slrnb36b0t.hg.arbeizaf@jupiter.olimpo> <slrnb3appd.bch.marmolejo@porta.til> <3E36949B.8F1ECC6C@menta.net> <b16bca$t0u7k$1@ID-158006.news.dfncis.de> <b16c8m$lp$1@peque.uv.es>

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 09:07:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!62.101.160.33!not-for-mail
From: Esteban Navarro <scandisk@able.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: duda con script de bash
Date: Tue, 28 Jan 2003 18:07:17 +0100
Lines: 29
Message-ID: <b16db5$vjtd6$1@ID-158006.news.dfncis.de>
References: <3E32BC97.BE023DEF@menta.net> <slrnb36b0t.hg.arbeizaf@jupiter.olimpo> <slrnb3appd.bch.marmolejo@porta.til> <3E36949B.8F1ECC6C@menta.net> <b16bca$t0u7k$1@ID-158006.news.dfncis.de> <b16c8m$lp$1@peque.uv.es>
NNTP-Posting-Host: 62.101.160.33
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: fu-berlin.de 1043773605 33158566 62.101.160.33 (16 [158006])
User-Agent: KNode/0.7.1