On Sat, Jul 01, 2000 at 12:37:45AM +1000, Neil Schellenberger wrote:
>
> Folks,
>
> The following patch fixes the rsyncd.conf manpage to avoid blowing up
> Solaris' catman -w (whatis/windex) indexing. I do not belive that the
> change is Solaris specific, so it should be equally applicable to all
> platforms.
>
> --- rsync-2.1.1/rsyncd.conf.5.orig Tue Nov 3 19:09:46 1998
> +++ rsync-2.1.1/rsyncd.conf.5 Tue Nov 3 19:09:55 1998
> @@ -1,6 +1,6 @@
> .TH "rsyncd\&.conf" "5" "13 May 1998" "" ""
> .SH "NAME"
> -rsyncd\&.conf \- configuration file for rsync server
> +rsyncd.conf \- configuration file for rsync server
> .SH "SYNOPSIS"
> .PP
> rsyncd\&.conf
The real source for the man page is rsyncd.conf.yo and those \&'s are
generated by yodl2man so it won't do any good to remove it from the
rsyncd.conf.5 file; it will just be re-inserted the next time yodl2man is
run. A filter could probably be put into the Makefile after running
yodl2man, but sometimes yodl2man is run by hand so it might accidentally
get put in again.
Really it should be fixed in yodl2man, but last I heard that wasn't being
very actively developed anymore. Andrew isn't running the latest version
but as an experiment I compiled the latest version (1.31.18, and Andrew's
using 1.22) and it still inserts the \& there. It probably wasn't noticed
before because most names of things described by man pages don't have a
"." in them.
- Dave Dykstra