On Fri, 27 Feb 2009, Olaf Reitmaier Veracierta wrote: > De acuerdo, > > 5 ineditos pero utiles... >
> 5.- Buscar que archivos "*.htm" contienen las frase o palabra palabra > "body" en el directorio actual > > for a in `find . -type f -name *.htm`; do if [ `cat $a | grep "body" | wc > -l` -gt 1 ]; then echo $a; fi; done > pero no es mas facil asi?: grep body *.htm* -R|cut -d':' -f1|uniq Saludos -- JID: lavaram...@jabber.org | http://lusers.com.ar/ 2B82 A38D 1BA5 847A A74D 6C34 6AB7 9ED6 C8FD F9C1 -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org