From: Scott Schwartz <schwartz@bio.cse.psu.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] here document
Date: Tue, 9 Oct 2007 20:37:09 -0400 [thread overview]
Date: Tue, 09 Oct 2007 20:37:09 -0400 [thread overview]
Message-ID: <20071010003709.8439.qmail@g.galapagos.bx.psu.edu> (raw)
In-Reply-To: <7F392936-F938-4B36-B11C-4AF7A58861B8@ar.aichi-u.ac.jp>
| > However, note the BUGS section of rc(1): "Functions that use here
| > documents don't work."
Byron's rc works!
; fn zot {
for (a in 1 2 3) {
cat <<EOF
Hello
World
EOF
}
}
; zot
Hello
World
Hello
World
Hello
World
next prev parent reply other threads:[~2007-10-10 0:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-04 1:51 [9fans] venti Russ Cox
2007-10-07 20:51 ` Steve Simon
2007-10-08 7:02 ` [9fans] here document arisawa
2007-10-08 7:46 ` sqweek
2007-10-08 11:59 ` arisawa
2007-10-08 12:12 ` erik quanstrom
2007-10-08 12:47 ` roger peppe
2007-10-08 13:09 ` erik quanstrom
2007-10-08 14:02 ` roger peppe
2007-10-08 15:14 ` erik quanstrom
2007-10-08 16:34 ` [9fans] International Workshop on Plan 9 Sape Mullender
2007-10-10 0:37 ` Scott Schwartz [this message]
2007-10-10 0:46 ` [9fans] here document erik quanstrom
2007-10-19 6:20 ` arisawa
2007-10-19 10:59 ` erik quanstrom
2007-10-19 12:44 ` Martin Neubauer
2007-10-19 13:25 ` erik quanstrom
2007-10-19 13:56 ` Martin Neubauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071010003709.8439.qmail@g.galapagos.bx.psu.edu \
--to=schwartz@bio.cse.psu.edu \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).