From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 7 May 2013 18:08:31 -0400 To: 9fans@9fans.net Message-ID: <75310e0e5ecd59a4026f8d5e49881bd4@ladd.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] problem with a here document in rc Topicbox-Message-UUID: 57c940e0-ead8-11e9-9d60-3106f5b1d025 > 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. - erik