Article View: es.comp.os.linux.programacion
Article #392Re: Prueba sobre el grep
From: Paco
Date: Sun, 27 Jan 2008 07:49
Date: Sun, 27 Jan 2008 07:49
18 lines
1325 bytes
1325 bytes
Paco wrote: > 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. Solucionado: grep -v [^a]
Technical Details
Message-ID:
<hkpt65-qk7.ln1@miservidor.org>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mailReferences:
<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-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mail Message-ID: <hkpt65-qk7.ln1@miservidor.org> From: Paco <spam@msn.es> Subject: Re: Prueba sobre el grep Newsgroups: es.comp.os.linux.programacion Reply-To: spam@msn.es References: <g29m65-0e8.ln1@miservidor.org> Lines: 18 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: Sun, 27 Jan 2008 08:49:05 +0100 NNTP-Posting-Host: 84.123.28.116 X-Trace: news.ono.com 1201421296 84.123.28.116 (Sun, 27 Jan 2008 09:08:16 MET) NNTP-Posting-Date: Sun, 27 Jan 2008 09:08:16 MET