From: "John Cooper" <John.Cooper@digitivity.com>
To: zsh-users@math.gatech.edu
Cc: john.cooper@math.gatech.edu
Subject: backslash problems?
Date: Mon, 27 Oct 1997 11:31:05 +0000 [thread overview]
Message-ID: <19971027113104140.AAA348@TENDLE> (raw)
[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
next reply other threads:[~1997-10-27 11:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-27 11:31 John Cooper [this message]
1997-10-27 11:53 ` Andrew Main
1997-10-27 12:36 ` Vincent Lefevre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19971027113104140.AAA348@TENDLE \
--to=john.cooper@digitivity.com \
--cc=john.cooper@math.gatech.edu \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).