From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4B59E982.1080009@comfortstore.net> Date: Fri, 22 Jan 2010 13:08:02 -0500 From: Corey Thomasson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <6a3ae47e1001220944v34a952ebv23388e2aaab247a1@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] find command reloaded Topicbox-Message-UUID: c30b88d4-ead5-11e9-9d60-3106f5b1d025 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