* Backtick cannot be escaped in double-quoted string
@ 2011-04-10 16:40 ZyX
2011-04-10 17:32 ` Peter Stephenson
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ZyX @ 2011-04-10 16:40 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
When I write echo "\`abc'" instead of getting «`abc'» echoed I get prompt
«dquote bquote>». Some time ago this construction worked normally. What may be
the cause of such weird behavior? Zsh version 4.3.11-r1 («-r1» means that ebuild
maintainers did huge enough changes to the ebuild to repost it), Gentoo amd64.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Backtick cannot be escaped in double-quoted string
2011-04-10 16:40 Backtick cannot be escaped in double-quoted string ZyX
@ 2011-04-10 17:32 ` Peter Stephenson
2011-04-10 17:57 ` Bart Schaefer
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Peter Stephenson @ 2011-04-10 17:32 UTC (permalink / raw)
To: zsh-users
On Sun, 10 Apr 2011 20:40:42 +0400
ZyX <zyx@np.by> wrote:
> When I write echo "\`abc'" instead of getting «`abc'» echoed I get prompt
> «dquote bquote>».
Hmmm... are you sure that's a real backslash and not just something that
looks like it? Otherwise I can't see what the problem would be.
--
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Backtick cannot be escaped in double-quoted string
2011-04-10 16:40 Backtick cannot be escaped in double-quoted string ZyX
2011-04-10 17:32 ` Peter Stephenson
@ 2011-04-10 17:57 ` Bart Schaefer
2011-04-10 18:26 ` René 'Necoro' Neumann
2011-04-11 4:06 ` ZyX
3 siblings, 0 replies; 5+ messages in thread
From: Bart Schaefer @ 2011-04-10 17:57 UTC (permalink / raw)
To: Zsh Users
On Sun, Apr 10, 2011 at 9:40 AM, ZyX <zyx@np.by> wrote:
> When I write echo "\`abc'" instead of getting «`abc'» echoed I get prompt
> «dquote bquote>». [...] Zsh version 4.3.11-r1 («-r1» means that ebuild
> maintainers did huge enough changes to the ebuild to repost it), Gentoo amd64.
I'm not able to reproduce this with ZSH_VERSION = 4.3.11-dev-1 and
ZSH_PATCHLEVEL = 1.5241, so unless you have an alias for echo that
might be changing the parse, this looks like a Gentoo-induced bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Backtick cannot be escaped in double-quoted string
2011-04-10 16:40 Backtick cannot be escaped in double-quoted string ZyX
2011-04-10 17:32 ` Peter Stephenson
2011-04-10 17:57 ` Bart Schaefer
@ 2011-04-10 18:26 ` René 'Necoro' Neumann
2011-04-11 4:06 ` ZyX
3 siblings, 0 replies; 5+ messages in thread
From: René 'Necoro' Neumann @ 2011-04-10 18:26 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
Am 10.04.2011 18:40, schrieb ZyX:
> When I write echo "\`abc'" instead of getting «`abc'» echoed I get prompt
> «dquote bquote>». Some time ago this construction worked normally. What may be
> the cause of such weird behavior? Zsh version 4.3.11-r1 («-r1» means that ebuild
> maintainers did huge enough changes to the ebuild to repost it), Gentoo amd64.
necoro@Zakarumiy ~ % echo "\`abc'"
`abc'
necoro@Zakarumiy ~ % eix -e zsh
[I] app-shells/zsh
Available versions: 4.3.10-r2 (~)4.3.11 4.3.11-r1
Installed versions: 4.3.11-r1
Gentoo amd64 system here too.
So there is probably something wrong in one of your startup files :)
- René
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Backtick cannot be escaped in double-quoted string
2011-04-10 16:40 Backtick cannot be escaped in double-quoted string ZyX
` (2 preceding siblings ...)
2011-04-10 18:26 ` René 'Necoro' Neumann
@ 2011-04-11 4:06 ` ZyX
3 siblings, 0 replies; 5+ messages in thread
From: ZyX @ 2011-04-11 4:06 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: Text/Plain, Size: 638 bytes --]
Reply to message «Backtick cannot be escaped in double-quoted string»,
sent 20:40:42 11 April 2011, Monday
by ZyX:
I found what is the cause: it is my experiments with histchars: I tried to use
histchars[0]=$'`' because I really hate `!' expansion if it is mapped to `!'.
Original message:
> When I write echo "\`abc'" instead of getting «`abc'» echoed I get prompt
> «dquote bquote>». Some time ago this construction worked normally. What may
> be the cause of such weird behavior? Zsh version 4.3.11-r1 («-r1» means
> that ebuild maintainers did huge enough changes to the ebuild to repost
> it), Gentoo amd64.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-04-11 4:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-10 16:40 Backtick cannot be escaped in double-quoted string ZyX
2011-04-10 17:32 ` Peter Stephenson
2011-04-10 17:57 ` Bart Schaefer
2011-04-10 18:26 ` René 'Necoro' Neumann
2011-04-11 4:06 ` ZyX
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).