bug report

jw schultz jw at pegasys.ws
Sat May 11 02:59:02 EST 2002


On Sat, May 11, 2002 at 01:35:30AM -0700, Wayne Davison wrote:
> OK, I just checked in a change that uses some of your suggested text to
> remove a bit of the chattiness.  I also improved the RSYNC_RSH section
> to mention the legality of command-line options.  See if you like it
> better.
> 
> --- rsync.yo    2002/05/09 21:44:46     1.99
> +++ rsync.yo    2002/05/11 08:31:55     1.101
> @@ -515,8 +515,16 @@
>  remote copies of rsync. Typically, rsync is configured to use rsh by
>  default, but you may prefer to use ssh because of its high security.
> 
> +Command-line arguments are permitted in COMMAND provided that COMMAND is
> +presented to rsync as a single argument.  For example:
> +
> +quote(-e "ssh -p 2234")
> +
> +(Note that ssh users can alternately customize site-specific connect
> +options in their .ssh/config file.)
> +
>  You can also choose the remote shell program using the RSYNC_RSH
> -environment variable.
> +environment variable, which accepts the same range of values as -e.
> 
>  See also the --blocking-io option which is affected by this option.
> 
> @@ -982,8 +990,8 @@
>  more details.
> 
>  dit(bf(RSYNC_RSH)) The RSYNC_RSH environment variable allows you to
> -override the default shell used as the transport for rsync. This can
> -be used instead of the -e option.
> +override the default shell used as the transport for rsync.  Command line
> +options are permitted after the command name, just as in the -e option.
> 
>  dit(bf(RSYNC_PROXY)) The RSYNC_PROXY environment variable allows you to
>  redirect your rsync client to use a web proxy when connecting to a
> 

I like it fine.  Of course i'm not a maintainer so my
opinion won't make that much difference.  The main reason i
spoke up on this is that i had question about it myself
recently and so i dug into the source to see what was
happening.  The fact that this has come up twice in the last
month tells me that the manpage isn't quite doing it yet.

And i like carrying the change into the RSYNC_RSH section.
The only misgiving i have about it is i'm not sure how to
phrase it so there won't be confused people trying to put
quotes inside the environment variable ala RSYNC_RSY='"ssh -1"'
and then griping it doesn't work.  I hope that in this case
i'm being pessimistic.

</verbal_diarrhea>

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt




More information about the rsync mailing list