On Fri, May 14, 2021 at 12:44:45AM +0300, Irshad Sulaiman wrote:
> Hi 
> 
> I have modified error in openrsync(1) manpage in Example section isn’t
> that ‘openrsync -t'  instead of 'rsync -t ‘
> And without --rsync-path= it gives an following error 'openrsync: error:
> unexpected end of file’

I did try all three examples and they do work for me without adding
--rsync-path=. On which command did you get the unexpected result.
Can you share the exact way to reproduce this issue?

> Apologize if Iam wrong 
> 
> Thanks 
> Irshad 
> 
> 
> 
> Index: rsync.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/rsync/rsync.1,v
> retrieving revision 1.24
> diff -u -p -r1.24 rsync.1
> --- rsync.1   31 Mar 2021 20:36:05 -0000      1.24
> +++ rsync.1   13 May 2021 21:25:57 -0000
> @@ -234,7 +234,7 @@ with the local
>  and
>  .Pa ../src/baz :
>  .Pp
> -.Dl % rsync -t ../src/bar ../src/baz host:dest
> +.Dl % openrsync -t --rsync-path=openrsync  ../src/bar ../src/baz host:dest
>  .Pp
>  To update the out-of-date local files
>  .Pa bar
> @@ -245,7 +245,7 @@ with the remote files
>  and
>  .Pa host:src/baz :
>  .Pp
> -.Dl % rsync -t host:src/bar :src/baz \&.
> +.Dl % openrsync -t --rsync-path=openrsync  host:src/bar :src/baz \&.
>  .Pp
>  To update the out-of-date local files
>  .Pa ../dest/bar
> @@ -256,7 +256,7 @@ with
>  and
>  .Pa baz :
>  .Pp
> -.Dl % rsync -t bar baz ../dest
> +.Dl % openrsync -t --rsync-path=openrsync  bar baz ../dest
>  .\" .Sh DIAGNOSTICS
>  .Sh SEE ALSO
>  .Xr ssh 1
> 

-- 
:wq Claudio

Reply via email to