🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Prueba sobre el grep

#388
From: Jellby
Date: Thu, 24 Jan 2008 14:30
22 lines
1563 bytes
Entre otras cosas, Paco tuvo a bien escribir:

> utilizando el grep... sacar las cadenas que solo tengan la a, es decir,
> aaa y aaaa...
> 
> yo lo he probado con grep [^[^a]]... pero no me sale....

grep '^a*$'

^ = principio de l�nea
a* = cualquier n�mero de "a"
$ = final de l�nea

-- 
     Ignacio __ Fern�ndez Galv�n
            / /\
Linux user / /  \  PGP Pub Key
#289967   / / /\ \  0x01A95F99
         / / /\ \ \
   http://djelibeibi.unex.es
       /________\ \ \
jellby \___________\/ yahoo.com
Technical Details
Message-ID: <71km65-qhp.ln1@badulaque.unex.es>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!storethat.news.telefonica.de!telefonica.de!news.antakira.com!news.diaple.com!lamanonegra.escomposlinux.org!tramontana.escomposlinux.org!escomposlinux.org!badulaque.unex.es!news
References: <g29m65-0e8.ln1@miservidor.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,ee690da0320f62d
X-Google-Attributes: gidf86c8,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!storethat.news.telefonica.de!telefonica.de!news.antakira.com!news.diaple.com!lamanonegra.escomposlinux.org!tramontana.escomposlinux.org!escomposlinux.org!badulaque.unex.es!news
From: Jellby <me@privacy.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Prueba sobre el grep
Date: Thu, 24 Jan 2008 15:30:31 +0100
Organization: Ecolnet
Lines: 22
Message-ID: <71km65-qhp.ln1@badulaque.unex.es>
References: <g29m65-0e8.ln1@miservidor.org>
NNTP-Posting-Host: 240.red-83-39-0.dynamicip.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
X-Trace: tramontana.escomposlinux.org 1201185595 30961 83.39.0.240 (24 Jan 2008 14:39:55 GMT)
X-Complaints-To: newsmaster@tramontana.escomposlinux.org
NNTP-Posting-Date: Thu, 24 Jan 2008 14:39:55 +0000 (UTC)
User-Agent: KNode/0.8.2