Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh cygpath problem in cygwin
- X-seq: zsh-users 15125
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Jan LÃbbe <jlu@xxxxxx>
- Subject: Re: zsh cygpath problem in cygwin
- Date: Thu, 24 Jun 2010 15:16:01 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kq9A1zni9B+Fuabq7mQ8YNSzfrdN5D/CKd7+8dUBVEo=; b=b0lmw3r1ap/KRCaNdFT5JoFveXSlGh83zAGfLWiqBqXbYua6BVTvmvC2oE7NAKQz8I ZgR26htBqBDk+AxB+PLOa6NIF2k2Yqsb+FJd0WXxh3CoCmMkqV6XduI2giT5Aa1vi//l YWb/dvWM1UeMAeZtLNaICmQAuxP+FbaCwkJPk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=g8TNJq015uL5RHSi1RogAXybQbVB4D5qC9PxMH4+ffUpjla8dsLza5LX9Z8+rXqebA /EVrC+cJMSI3ZmEWvC7j/NKGb4TmZc5xtTX08lv8iIBVuMsM/+HfCKQYtfpSRlz1568n JbOTkMov6prJ/1lmpuodQ/lQ+2/lfV5F+dnl8=
- In-reply-to: <4C2357AD.9060806@xxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4C2357AD.9060806@xxxxxx>
On 24 June 2010 15:03, Jan LÃbbe <jlu@xxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author