🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Prueba sobre el grep

#387
From: Paco
Date: Thu, 24 Jan 2008 11:23
14 lines
1161 bytes
Tengo un fichero con la siguiente estructura:
aaaba
aabb
baab
aaa
aaaa
...
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....

Como se haria?
Un saludo.
Technical Details
Message-ID: <g29m65-0e8.ln1@miservidor.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,ee690da0320f62d,start
X-Google-Attributes: gidf86c8,public,usenet
X-Google-Language: SPANISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mail
Message-ID: <g29m65-0e8.ln1@miservidor.org>
From: Paco <spam@msn.es>
Subject: Prueba sobre el grep
Newsgroups: es.comp.os.linux.programacion
Reply-To: spam@msn.es
Lines: 14
Organization: aldarias.es
User-Agent: KNode/0.10.5
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Date: Thu, 24 Jan 2008 12:23:28 +0100
NNTP-Posting-Host: 84.123.28.116
X-Trace: news.ono.com 1201176505 84.123.28.116 (Thu, 24 Jan 2008 13:08:25 MET)
NNTP-Posting-Date: Thu, 24 Jan 2008 13:08:25 MET