From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 8 Jun 2009 11:45:33 +0200 From: Martin Neubauer To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20090608094533.GA1323@shodan.homeunix.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Subject: Re: [9fans] simple question: multiple rename Topicbox-Message-UUID: 063bf70c-ead5-11e9-9d60-3106f5b1d025 Hello Ruda, Due to the peculiarities of here documents in rc the following: > s = `{sam -d <[2] /dev/null > 1s/(.+)_g/\1 > p > EOF > } should be written as: s = `{sam -d <[2] /dev/null} ... EOF Hope that helps, Martin