On Wed, Apr 11, 2007 at 04:41:41PM -0500, Matthew R. Dempsky wrote:
> On Wed, Apr 11, 2007 at 10:02:50PM +0100, Stuart Henderson wrote:
> > On 2007/04/11 13:41, Bryan Irvine wrote:
> > > scp [EMAIL PROTECTED]:"a\ b" .
> > 
> > you have to escape to *both* your local shell, and the remote shell
> 
> This has always seemed silly to me.  Does anyone intentionally use
> 
>    $ scp host:"a b" .
> 
> instead of
> 
>    $ scp host:"{a,b}" .

Does anyone intentionally use

scp '[EMAIL PROTECTED]:`rm -fr /`' /dev/null ?

> 
> or
> 
>    $ scp host:a host:b .
> 
> or is just that having whatever does the globbing on the host not
> split at white space too difficult?

That 'whatever' is the login shell of the user on the remote host.
(which may or may not do splitting with IFS, globbing, variable expansion -
the usual stuff).

scp is fine. some people are confused.

Reply via email to