9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] here documents in functions
@ 2003-08-31 23:37 boyd
  2003-08-31 23:41 ` Dan Cross
  2003-08-31 23:42 ` David Presotto
  0 siblings, 2 replies; 4+ messages in thread
From: boyd @ 2003-08-31 23:37 UTC (permalink / raw)
  To: 9fans

what gives?

brahma% fn foo {
	cat <<!
	echo foo
	!
	}
	!
brahma% foo
/tmp/here1853.0003: rc: can't open: '/tmp/here1853.0003' directory entry not found


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

* Re: [9fans] here documents in functions
  2003-08-31 23:37 [9fans] here documents in functions boyd
@ 2003-08-31 23:41 ` Dan Cross
  2003-08-31 23:42 ` David Presotto
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Cross @ 2003-08-31 23:41 UTC (permalink / raw)
  To: 9fans

Oh, it has to be after the function body, if I'm not mistaken (which I
probably am).

	- Dan C.



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

* Re: [9fans] here documents in functions
  2003-08-31 23:37 [9fans] here documents in functions boyd
  2003-08-31 23:41 ` Dan Cross
@ 2003-08-31 23:42 ` David Presotto
  2003-08-31 23:45   ` David Presotto
  1 sibling, 1 reply; 4+ messages in thread
From: David Presotto @ 2003-08-31 23:42 UTC (permalink / raw)
  To: 9fans

/tmp isn't writable?  maybe start a ramfs or mount -c /usr/boyd/tmp /tmp


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

* Re: [9fans] here documents in functions
  2003-08-31 23:42 ` David Presotto
@ 2003-08-31 23:45   ` David Presotto
  0 siblings, 0 replies; 4+ messages in thread
From: David Presotto @ 2003-08-31 23:45 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 45 bytes --]

I take it back, just read the message closer.

[-- Attachment #2: Type: message/rfc822, Size: 1822 bytes --]

From: David Presotto <presotto@closedmind.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] here documents in functions
Date: Sun, 31 Aug 2003 19:42:31 -0400
Message-ID: <b75f59ce82ea4d1fe666809ead551566@plan9.bell-labs.com>

/tmp isn't writable?  maybe start a ramfs or mount -c /usr/boyd/tmp /tmp

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

end of thread, other threads:[~2003-08-31 23:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-31 23:37 [9fans] here documents in functions boyd
2003-08-31 23:41 ` Dan Cross
2003-08-31 23:42 ` David Presotto
2003-08-31 23:45   ` David Presotto

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).