put it in a for loop:

for i in `ls`
do
grep -l 20773 $i
done


On Nov 19, 2006, at 9:12 AM, Chris wrote:

Quick question maybe someone can answer. I'm trying to grep a number in a
group of messages in my maildir file. There are 4000 messages in this
folder and when running grep -l 20773 * I get an "Argument list too long" which I've come to realize is because of the number of messages, in this case, it has to look through. Is there a simple work around for this or
will I have to work in blocks of say, 1000?

--
Chris

____________________________________________________
Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to