From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15758 invoked by alias); 22 Dec 2016 19:13:09 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40228 Received: (qmail 9286 invoked from network); 22 Dec 2016 19:13:09 -0000 X-Qmail-Scanner-Diagnostics: from granite.fifsource.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(173.255.216.206):SA:0(-0.0/5.0):. Processed in 1.633154 secs); 22 Dec 2016 19:13:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: phil@fifi.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at fifi.org designates 173.255.216.206 as permitted sender) Message-ID: <1482433489.24491.17.camel@niobium.home.fifi.org> Subject: Re: indented heredocs From: Philippe Troin To: zsh workers Date: Thu, 22 Dec 2016 11:04:49 -0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit On Wed, 2016-12-21 at 15:04 -0800, Bart Schaefer wrote: > On Wed, Dec 21, 2016 at 2:10 PM, Bart Schaefer > wrote: > > > > % cat <<-' xx' > > Chet Ramey reminds me (palm to forehead) that this already means to > quote the here-document content. So, we'd need some other way of > quoting the leading whitespace. Isn't the whole thing overkill? We already can handle the simple cases: cat <