Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Passing parameters completely untouched
- X-seq: zsh-users 8784
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Passing parameters completely untouched
- Date: Fri, 06 May 2005 14:27:48 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <pf5l71lbqhok9gf9b4j606li2s77h848ij@xxxxxxx> <1050506040207.ZM31436@xxxxxxxxxxxxxxxxxxxxxxx> <42pm7152958l1t5lmgmm4jct5vs0ljqu03@xxxxxxx> <87k6mcqyum.fsf@xxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
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