zsh-users
 help / color / mirror / code / Atom feed
* Interesting zsh behaviour regarding awk and backslash
@ 2011-09-27 11:42 İsmail Dönmez
  2011-09-27 11:54 ` Jérémie Roquet
  2011-09-27 13:51 ` Mikael Magnusson
  0 siblings, 2 replies; 10+ messages in thread
From: İsmail Dönmez @ 2011-09-27 11:42 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-09-27 18:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-27 11:42 Interesting zsh behaviour regarding awk and backslash İsmail Dönmez
2011-09-27 11:54 ` Jérémie Roquet
2011-09-27 11:55   ` İsmail Dönmez
2011-09-27 13:48   ` Bart Schaefer
2011-09-27 18:11     ` Stephane Chazelas
2011-09-27 13:51 ` Mikael Magnusson
2011-09-27 13:54   ` İsmail Dönmez
2011-09-27 14:18     ` Frank Terbeck
2011-09-27 14:20     ` Bart Schaefer
2011-09-27 14:25       ` İsmail Dönmez

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).