From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3EFF1A96.8010201@acm.org> From: "D. Brownlee" User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.3) Gecko/20030618 MIME-Version: 1.0 To: 9fans@cse.psu.edu Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] 'find' Date: Sun, 29 Jun 2003 09:57:58 -0700 Topicbox-Message-UUID: e0b55388-eacb-11e9-9e20-41e7f4b1d025 grep pattern `{du -a /} leads to something like "grep: virtual memory allocation failure." Sorry, but Plan 9 isn't running right now, so that's from memory. That used to work in 3rd. edition. I found a better 'find' in Russ' scripts tarball, but it is an interesting problem. I suspect that the message may be generated on behalf of 'grep'. I looked at the 'grep' source and the only potential problem (?) seen was a failure to close a file before search() returns to main(), if read() returns less than zero; however, the print() associated with that error isn't seen in grep's output before the vm failure occurs. I'll find out where the message comes from next time Plan 9 is up.