find, grep, xargs...

Lubomir Majersky lumax at in.acompp.sk
Thu Apr 10 13:31:57 CEST 2008


Jan Pechanec  wrote / napísal(a):
> On Thu, 10 Apr 2008, Lubomir Majersky wrote:
>> ...toto nie. Ja najskor musim spracovat vzorku, ktora hladam v obsahu 
>> suborov
> 
> 	aha, to v zadani nebylo. Muzes to udelat takhle:
> 
> 	grep -lRE pattern | grep -i 'blabla*' | xargs...
> 
> 	nebo
> 
> 	cp `grep -lRE pattern | grep -i 'blabla*'` ...
> 
...grep to takto nezvladne 'Argument list too long'

-- 
LuMaX



More information about the Users-l mailing list