From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20030901014301.12983.qmail@g.bio.cse.psu.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] rc here docs In-reply-to: References: From: Scott Schwartz Date: Sun, 31 Aug 2003 21:43:01 -0400 Topicbox-Message-UUID: 26150306-eacc-11e9-9e20-41e7f4b1d025 This works correctly (or at least as I expected) in Byron's rc. ; whatis foo fn foo {cat <<<' echo foo '} The `<<<' is a builtin operator, of which the manpage says: Additionally, rc supports ``here strings'', which are like here documents, except that input is taken directly from a string on the command line. Their use is illustrated here: cat <<< 'this is a here string' | wc (This feature enables rc to export functions using here documents into the environment; the author does not expect users to find this feature useful.)