On Mon, Oct 30, 2000 at 01:41:27PM +1100, Ben Leslie wrote:
> On Mon, 30 Oct 2000, Rick Welykochy wrote:
> > On Mon, 30 Oct 2000, Sonam Chauhan wrote:
> > 
> > The beauty of open source shines through. A fellow worker
> > looked at the source code for the rcp parsing mechanism
> > and found that as long as a "/" preceeds the ":", then the
> > command thinks that ":" is part of a file name, and not a hostname
> > delimiter.
> 
> Sorry, this is one thing that I find kinda of wrong. Yes it is good you 
> have the source code and have been able to find the answer, however you
> _shouldn't_ have to do this. ...

RCP(1)                       UNIX Reference Manual                   RCP(1)

NAME
     rcp - remote file copy

SYNOPSIS
     rcp [-px] [-k realm] file1 file2
     rcp [-px] [-r] [-k realm] file ... directory

DESCRIPTION
     Rcp copies files between machines.  Each file or directory argument is
     either a remote file name of the form ``rname@rhost:path'', or a local
     file name (containing no `:' characters, or a `/' before any `:'s).

     ...

> (PS. If you have made and submitted a patch to the documenation, then I will
> take it all back and admit it is a good thing (tm) ;)

it should probably be in the scp man page nowadays. Is it in
OpenSSH's scp man page, anyone?

Conrad.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to