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

Re: Passing parameters completely untouched



zzapper <david@xxxxxxxxxx> writes:

> On Fri, 06 May 2005 04:02:07 +0000,  wrote:

Your MUA's quoting functionality seems a bit broken.

>>On May 5, 11:02pm, zzapper wrote:
...
>>} > convert_path "c:\aaa\fred\file.txt"
>>
>>Use single quotes, man.
>>
> Bart,
> Doesn't work for me on Cygwin zsh 4.2.4 (i686-pc-cygwin) even with
> single quotes the backslash is
> interpreted.

Works fine here with Cygwin zsh 4.2.4:

[prompt] > kala
#!/bin/zsh

echo -E $*
[prompt] chmod +x kala
[prompt] ./kala 'c:\kala\lahna.txt'
c:\kala\lahna.txt

It is probably that convert_path thing of yours that doesn't work.
For example, if I had omitted -E from my example, the output would
have been "c:kalalahna.txt".

-- 
Hannu



Messages sorted by: Reverse Date, Date, Thread, Author