From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19369 invoked by alias); 27 Sep 2011 14:43:29 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16450 Received: (qmail 24970 invoked from network); 27 Sep 2011 14:43:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: Zsh Users Subject: Re: Interesting zsh behaviour regarding awk and backslash In-Reply-To: (=?utf-8?Q?=22=C4=B0smail_D=C3=B6nmez=22's?= message of "Tue, 27 Sep 2011 15:54:52 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Date: Tue, 27 Sep 2011 16:18:29 +0200 Message-ID: <87fwjioyq2.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: NDMwNDQ0 =C4=B0smail D=C3=B6nmez wrote: > On Tue, Sep 27, 2011 at 3:51 PM, Mikael Magnusson wro= te: >> On 27 September 2011 13:42, =C4=B0smail D=C3=B6nmez = wrote: [...] >> > Ideas? >> >> setopt bsdecho (it changes whether -e or -E is the default mode). >> > > Thanks that works, any reason this is not on by default for sh > compatibility though? You can't really portable with `echo'. Even the POSIX section about `echo' explicitly says something like "For portable applications, use `printf' instead.". Regards, Frank --=20 In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925