Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
backslash problems?
- X-seq: zsh-users 1102
- From: "John Cooper" <John.Cooper@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: backslash problems?
- Date: Mon, 27 Oct 1997 11:31:05 +0000
- Cc: john.cooper@xxxxxxxxxxxxxxx
- Reply-to: john.cooper@xxxxxxxxxxxxxx
[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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author