Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Interesting zsh behaviour regarding awk and backslash
- X-seq: zsh-users 16440
- From: İsmail Dönmez <ismail@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Interesting zsh behaviour regarding awk and backslash
- Date: Tue, 27 Sep 2011 13:42:58 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=namtrac.org; s=www; h=mime-version:from:date:message-id:subject:to:content-type; bh=LBcB6Zs931cS0xaWRrFRj2RYlSkMKU/jXdPVziwspvI=; b=A/SCQ+EWctpzCRMOAD0VCOpYNqOvEW2JcvNfbeVhT85st8iOxqGrTZcjDv+mN4ckXe xQ1fbmGshag4NSt86/RfU9pH54uPFRKswQIT93laxiLIPEQ29WTpDT3AXaFDso+KwN+a 1azplCpr1FgDrbwhJLCnU/C+Wp9dmWZ+rs+8A=
- 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
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?
P.S: gaw 4.0.0 is buggy with this gsub command and output will differ.
Regards,
ismail
Messages sorted by:
Reverse Date,
Date,
Thread,
Author