9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 'find'
@ 2003-06-29 16:57 D. Brownlee
  2003-06-29 16:59 ` Sape Mullender
                   ` (3 more replies)
  0 siblings, 4 replies; 36+ messages in thread
From: D. Brownlee @ 2003-06-29 16:57 UTC (permalink / raw)
  To: 9fans

	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.



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2003-07-08 11:20 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-29 16:57 [9fans] 'find' D. Brownlee
2003-06-29 16:59 ` Sape Mullender
2003-06-30 14:07   ` rog
2003-06-30 14:18     ` Scott Schwartz
2003-06-30 14:50       ` rog
2003-07-03  9:42         ` Douglas A. Gwyn
2003-07-03 10:03           ` Fco.J.Ballesteros, nemo
2003-07-03 15:14             ` rob pike, esq.
2003-07-03 12:57           ` matt
2003-07-03 16:59             ` Douglas A. Gwyn
2003-07-03 17:09               ` matt
2003-06-30 15:30       ` Dan Cross
2003-07-03 12:11     ` Kenji Arisawa
2003-06-29 18:11 ` Jack Johnson
2003-06-29 18:42   ` Dan Cross
2003-07-04 14:08   ` Ralph Corderoy
2003-07-05 18:38     ` Dan Cross
2003-07-06  3:11       ` boyd, rounin
2003-07-07  8:33         ` Douglas A. Gwyn
2003-07-07 10:49           ` boyd, rounin
2003-07-07 14:05             ` Douglas A. Gwyn
2003-07-07 15:46           ` rob pike, esq.
2003-07-07 19:18             ` Dan Cross
2003-07-07 19:26               ` David Presotto
2003-07-07 19:46                 ` Dan Cross
2003-07-07 19:08           ` Dan Cross
2003-07-07 19:21             ` Dan Cross
2003-07-08  8:31               ` Douglas A. Gwyn
2003-07-08 11:20                 ` Dan Cross
2003-07-06 16:12       ` Jack Johnson
2003-07-06 22:20       ` matt
2003-07-07 13:28       ` Ralph Corderoy
2003-07-07 19:13         ` Dan Cross
2003-06-30  7:47 ` Fco.J.Ballesteros, nemo
2003-06-30  7:55   ` boyd, rounin
2003-06-30 14:32 ` Dan Cross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).