On 4/11/07, Nick ! <[EMAIL PROTECTED]> wrote:
On 4/11/07, Dan Farrell <[EMAIL PROTECTED]> wrote:
>
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> > Of Karel Kulhavy
> > Sent: Wednesday, April 11, 2007 3:47 PM
> > To: OpenBSD
> > Subject: scp problem with remote filename escaping
> > Sounds like a bug to me - the escaping for the remote shell is not being
> > done
> > correctly?
>
> Wow.
>
> Seriously, I think the real 'bug' is your file naming conventions.
>
But spaces in filenames are legal, so programs need to support that;
Er, nevermind. I didn't read closely enough.
Karel, single quotes cause backslashes to be backslashes, instead of
escape chars (*except* if it's a backslash in front of a single quote,
so that you can escape single quotes to include them). The behaviour
you're seeing is entirely correct.
I still stand by my abstract philosophical standpoint, that forcing
certain conventions is not a substitute for bugfixing, but it turns
out it doesn't apply here.
-Nick