Article View: es.comp.os.linux.programacion
Article #7828Re: grep y regexp
From: Jose A
Date: Sun, 26 Jan 2003 22:17
Date: Sun, 26 Jan 2003 22:17
24 lines
1436 bytes
1436 bytes
Hola
El Sun, 26 Jan 2003 17:08:09 +0000 (UTC), Benjam�n Albi�ana
<benjamin@hierroycuero.org> escribi�;
> Intento sacar de un fichero todas las l�neas que contengas dos o m�s
> may�sculas seguidas:
>
> grep '[:upper:]{2,}' fichero
>
> pero no funciona. �Alguna idea?
prueba esto:
grep '[[:upper:]]{2,}' fichero
y ya te tendr�a que funcionar.
espero que te sirva.
saludos.
> - --
> Benjam�n Albi�ana P�rez
> One, two, three, four, five, six, seven, all the children go together.
Technical Details
Message-ID:
<slrnb38nkk.1bp.MAQUI000@213.60.225.216>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!cesio.mundo-r.com!amanda!nobodyReferences:
<slrnb385fm.d5f.benjamin@lamanonegra.eg>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,9809dbfcce249c9d X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-01-27 04:43:33 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!cesio.mundo-r.com!amanda!nobody From: Jose A <MAQUI000@NOSPAM.mundo-r.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: grep y regexp Date: Sun, 26 Jan 2003 23:17:58 +0100 Organization: Another Netscape Collabra Server User Lines: 25 Message-ID: <slrnb38nkk.1bp.MAQUI000@213.60.225.216> References: <slrnb385fm.d5f.benjamin@lamanonegra.eg> NNTP-Posting-Host: cm225216.red.mundo-r.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: slrn/0.9.7.4 (Linux)