Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Passing parameters completely untouched
- X-seq: zsh-users 8783
- From: Hannu Koivisto <azure@xxxxxx>
- To: zzapper <david@xxxxxxxxxx>
- Subject: Re: Passing parameters completely untouched
- Date: Fri, 06 May 2005 16:16:01 +0300
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <42pm7152958l1t5lmgmm4jct5vs0ljqu03@xxxxxxx> (zzapper's message of "Fri, 06 May 2005 13:36:57 +0100")
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <pf5l71lbqhok9gf9b4j606li2s77h848ij@xxxxxxx> <1050506040207.ZM31436@xxxxxxxxxxxxxxxxxxxxxxx> <42pm7152958l1t5lmgmm4jct5vs0ljqu03@xxxxxxx>
- Sender: Hannu Koivisto <Hannu.Koivisto@xxxxxxxxxxx>
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