From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 8 Oct 2007 13:47:56 +0100 From: "roger peppe" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] here document In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7F392936-F938-4B36-B11C-4AF7A58861B8@ar.aichi-u.ac.jp> Topicbox-Message-UUID: cc3df782-ead2-11e9-9d60-3106f5b1d025 > with rc's regular quoting rules, i was suprised that rc included them. > i think the language would be better without here documents. here files are still useful because they don't use memory proportional to their size, so you can have a 100MB here file without worrying too much. that's why they don't work in functions (byron's rc converted a here file within a function into a "here string" which basically amounted to {echo string | command} but with the here file syntax; not much point in that, save for regularity)