zsh-users
 help / color / mirror / code / Atom feed
* backslash problems?
@ 1997-10-27 11:31 John Cooper
  1997-10-27 11:53 ` Andrew Main
  1997-10-27 12:36 ` Vincent Lefevre
  0 siblings, 2 replies; 3+ messages in thread
From: John Cooper @ 1997-10-27 11:31 UTC (permalink / raw)
  To: zsh-users; +Cc: john.cooper

[I'm not on the mailing list - please copy me on any replies]

I'm Using zsh 3.0.5-nt-beta-0.28 under NT 4.0.

Can someone explain the following behavior - it seems a little surprising to me.

$ echo "foo\bar\baz"
foaaz
$ echo "foo\\bar\\baz"
foaaz
$ echo 'foo\bar\baz'
foaaz
$ echo 'foo\\bar\\baz'
foo\bar\baz


Under bash, it seems more consistent:

$ bash
bash$ echo "foo\bar\baz"
foo\bar\baz
bash$ echo 'foo\bar\baz'
foo\bar\baz
bash$

Thanks,

    --- John


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

end of thread, other threads:[~1997-10-27 12:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-27 11:31 backslash problems? John Cooper
1997-10-27 11:53 ` Andrew Main
1997-10-27 12:36 ` Vincent Lefevre

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).