From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <75310e0e5ecd59a4026f8d5e49881bd4@ladd.quanstro.net> References: <75310e0e5ecd59a4026f8d5e49881bd4@ladd.quanstro.net> From: =?UTF-8?B?TWFydGluIEvDvGhs?= Date: Wed, 8 May 2013 04:53:59 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] problem with a here document in rc Topicbox-Message-UUID: 57cdc516-ead8-11e9-9d60-3106f5b1d025 On Wed, May 8, 2013 at 12:08 AM, erik quanstrom wrote: >> I guess I must be missing something, but this seems equivalent to your >> bash script: >> >> for(i in 1 2 3) { >> cat <> $i >> ! >> } > > clearly you did not run this script. this doesn't > work for the same reason that here docs in functions > don't work. I actually did, but accidentally ran the old unix port. sorry for the noise.