zsh-users
 help / color / mirror / code / Atom feed
From: zzapper <david@tvis.co.uk>
To: zsh-users@sunsite.dk
Subject: Re: Passing parameters completely untouched
Date: Fri, 06 May 2005 14:27:48 +0100	[thread overview]
Message-ID: <h4sm71pl39i7ktlusndcbcab7g384aadfm@4ax.com> (raw)
In-Reply-To: <87k6mcqyum.fsf@trews52.bothi.fi>

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

>zzapper <david@tvis.co.uk> 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


  reply	other threads:[~2005-05-06 13:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-05 22:02 zzapper
2005-05-06  4:02 ` Bart Schaefer
2005-05-06 12:36   ` zzapper
2005-05-06 13:16     ` Hannu Koivisto
2005-05-06 13:27       ` zzapper [this message]
2005-05-06 15:16         ` Bart Schaefer
2005-05-06 15:49           ` zzapper
2005-05-06 16:57             ` zzapper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=h4sm71pl39i7ktlusndcbcab7g384aadfm@4ax.com \
    --to=david@tvis.co.uk \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).