Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh cygpath problem in cygwin



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