zsh-users
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: "Jan Lübbe" <jlu@ivu.de>
Cc: zsh-users@zsh.org
Subject: Re: zsh cygpath problem in cygwin
Date: Thu, 24 Jun 2010 15:16:01 +0200	[thread overview]
Message-ID: <AANLkTikSFzHqFHzAygZ8yNWZdVYY4W-lmJu8gRFH4RWG@mail.gmail.com> (raw)
In-Reply-To: <4C2357AD.9060806@ivu.de>

On 24 June 2010 15:03, Jan Lübbe <jlu@ivu.de> wrote:
> Hello zsh users,
>
> I have a very strange problem in cygwin. If I use cygpath normally in the
> zsh everything is fine. But if I assign a variable like JAVA_HOME then
> strange thinks happen. "k\b" disappears and stuff like that. The strange
> thing is, that this does not happen in bash under cygwin. It must somehow be
> related to the zsh. Do you have any ideas?
>
> % JAVA_HOME="`cygpath -wl /cygdrive/d/Programme/Java/JavaEE61x32/jdk/bin`"
> % echo $JAVA_HOME
> D:\Programme\Java\JavaEE61x32\jdin
> % cygpath -wl
> /cygdrive/d/Programme/Java/JavaEE61x32/jdk/bin/jboss-5.1.0.GA/bin
> D:\Programme\Java\JavaEE61x32\jdk\bin

echo interprets escape sequences, you can use echo -E to suppress
this. The variable itself is correctly assigned. (\b means move the
cursor back one step, so this causes the i to overwrite the k.)

-- 
Mikael Magnusson


  reply	other threads:[~2010-06-24 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-24 13:03 Jan Lübbe
2010-06-24 13:16 ` Mikael Magnusson [this message]
2010-06-24 13:54 ` d.henman

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=AANLkTikSFzHqFHzAygZ8yNWZdVYY4W-lmJu8gRFH4RWG@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=jlu@ivu.de \
    --cc=zsh-users@zsh.org \
    /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).