From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25951 invoked by alias); 10 Jan 2017 03:56:38 -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: 40319 Received: (qmail 22804 invoked from network); 10 Jan 2017 03:56:38 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.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(66.111.4.25):SA:0(-0.7/5.0):. Processed in 1.484558 secs); 10 Jan 2017 03:56:38 -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.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=4rfNPDD0qFshXk2bqmXw0Iie0Ec=; b=U9S/v/JBCqwXEmnGxHI8o QHftLuBQIcevqmipsUHES7++ZSpfmUub76gcC2o6QAMafSTaHOv4hTXgWMd3szFV qRcBxUYDuSOMRcSS6L0tyWZk3H55bC819kyjmHzPL6DsPyCE5xyGz3uzsHxzTBlm aBA1J62wcbXstu3lRVa1XA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=4rfNPDD0qFshXk2bqmXw0Iie0Ec=; b=W+ijsEXYRpJynIw4GEAd RNkL6bRIV38S/valGCwamrV1Wmg2lluBoF+5KJsjv0zVEHCf/6/Za7vd3bqupr3U Ib/z0FoAxQqXBM6FKqnPmyKR0XUmC101R/MEHvAmCfMx4uo7E4E47JuereGB8xwI 5qABJBLHSLt1Yx6yP6bbeMM= X-ME-Sender: X-Sasl-enc: pWGq4h1USCjxPoRM1Kft3i8RAAs7P5on5nzBr/uNWJux 1484020590 Date: Tue, 10 Jan 2017 03:52:59 +0000 From: Daniel Shahaf To: Phil Pennock Cc: zsh-workers@zsh.org Subject: Re: [PATCH] Document echo \c behaviour Message-ID: <20170110035259.GA31866@fujitsu.shahaf.local2> References: <20170109203209.GA13324@breadbox.private.spodhuis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170109203209.GA13324@breadbox.private.spodhuis.org> User-Agent: Mutt/1.5.23 (2014-03-12) Phil Pennock wrote on Mon, Jan 09, 2017 at 15:32:09 -0500: > SUSv4 XCU at states: That's the landing page; 'echo' is at http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html > > \c > > Suppress the that otherwise follows the final argument in > > the output. All characters following the '\c' in the arguments shall > > be ignored. > > I think that this is worth documenting. Patch tested with "make" in > Doc/ and results look fine. Thanks; I pushed the first hunk. I didn't push the second one because I don't think it's required. If you disagree then make your case ;-). Thanks for the patch! Daniel P.S. Overly-literal-reading corner: doesn't "All characters following... will be ignored" mean that «echo 'foo\cbar' 'baz' 'qux'» should be equivalent to «echo 'foo\cbar' '' ''»? I.e., print «foo» followed by two trailing spaces?