Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Interesting zsh behaviour regarding awk and backslash
- X-seq: zsh-users 16444
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: İsmail Dönmez <ismail@xxxxxxxxxxx>
- Subject: Re: Interesting zsh behaviour regarding awk and backslash
- Date: Tue, 27 Sep 2011 15:51:50 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=OYiuTDvPgfaOjrfLmG7l/kh92J0w+Wv+/iD9p7ylvoA=; b=d+x4nWc53LhUXeEAH5neoVws+U175BNCVKDQIUIDKNpD5a2bEcuKRzPbYXYeQvF4mn I5xFOaKjLG6mhDl4FtJZhGxSo8/XmtI/mWs9Q6FqNppwGORd5SZ1RqTJ1MdMn8ZWQSdx dqjg0eogDE/zXacRX9gHI6avQOQVRTBgwERgQ=
- In-reply-to: <CAJR5sYhgXzUiGn_BGHiULrqH_VZtxhNFFBVEc=F-tq5D+OZ74g@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>
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).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author