Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Interesting zsh behaviour regarding awk and backslash
- X-seq: zsh-users 16445
- From: İsmail Dönmez <ismail@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Interesting zsh behaviour regarding awk and backslash
- Date: Tue, 27 Sep 2011 15:54:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=namtrac.org; s=www; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=X2MAaE+sjITiqdHYohBrRfWmMePzID4Vj3WtZHrZczY=; b=dDr+/K/PYJRuk1iQGNA7/GxW8ocbVaBaYo2YzzLYJivS+4zGNpjJr9whpl3eKrxfBx KQO7c8cfSBBdmgWz8jbXHMpwtsO2aAkGLSVWM+xdKz3lQvnaK2rnRDjzw03h9TiaIbRd UIxoQlj4vxhqIIV3AjPdWlF5pjSaOJtJz6d/4=
- In-reply-to: <CAHYJk3RMadRdRKGLzhMEk1b1LhJzEuAjUdNnor2gpfNVGgf52A@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAJR5sYhgXzUiGn_BGHiULrqH_VZtxhNFFBVEc=F-tq5D+OZ74g@mail.gmail.com> <CAHYJk3RMadRdRKGLzhMEk1b1LhJzEuAjUdNnor2gpfNVGgf52A@mail.gmail.com>
Hi;
On Tue, Sep 27, 2011 at 3:51 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On 27 September 2011 13:42, İsmail Dönmez <ismail@xxxxxxxxxxx> wrote:
> > Hi;
> >
> > gawk 3.1.8
> >
> > bash:
> >
> > [~]> echo '\\' | gawk '{gsub("\\\\","\\\\",$0); print($0);}'
> > \\\\
> >
> > zsh 4.3.12-dev-1
> >
> > [~]> echo '\\' | gawk '{gsub("\\\\","\\\\",$0); print($0);}'
> > \\
> >
> > 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?
Regards.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author