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

Re: Passing parameters completely untouched



On Fri, 06 May 2005 16:16:01 +0300,  wrote:

>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,
Thnx that works fine with echo -E

Funny the doc says that -E is default?!?

-E     disable interpretation of backslash escapes (default)




-- 
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips



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