On 1/22/2010 12:59 PM, Rudolf Sykora wrote:
Regardless of me having or not having encountered a problem, building
the whole list in advance is not really smart and will lead to
problems at some point for sure.
Thanks
R
Assuming that's true, couldn't you do some kind of trick to break it up
(mind you my syntax may be wrong, I don't use plan9 often)
for(i in a b c [and so on]) grep foo `{du -a . | awk '{print $2}' | grep
^$i}
If you're worried about the argument list being too long that would
break it up into 26 separate greps with smaller arg lists I believe