[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030127: NetCDF manpage glitch



Jean-Sebastien,

> To: address@hidden
> From: Jean-Sebastien Roy <address@hidden>
> Subject: NetCDF manpage glitch
> Organization: ?
> Keywords: 200301251704.h0PH4i603977 netCDF documentation man page

The above message contained the following:

> At least in the 3.5.0 and 3.5.1 beta NetCDF archives, the netcdf 
> manpage (src/man/netcdf.m4) uses the 'yr' groff register to print the 
> date, but groff (at least the GNU version) defines 'yr' as 'the 
> current year minus 1900' so '103' is displayed instead of '03' or 
> '2003'.
> 
> The following patch should fix this.
> 
> Regards,
> 
> js
> 
> --- netcdf.m4.old     Sat Jan 25 17:52:16 2003
> +++ netcdf.m4 Sat Jan 25 17:52:49 2003
> @@ -320,7 +320,8 @@
>   $1(double)>>)
> 
>   divert(0)dnl
> -.TH NETCDF 3 "18 April 1997" "Printed: \n(yr.\n(mo.\n(dy" "UNIDATA 
> LIBRARY FUNCTIONS"
> +.nr y4 1900+\n(yr
> +.TH NETCDF 3 "18 April 1997" "Printed: \n(y4.\n(mo.\n(dy" "UNIDATA 
> LIBRARY FUNCTIONS"
>   .SH N<<>>AME
>   netcdf \- Unidata Network Common Data Form (netCDF) library, version 
> 3 interface
>   .SH SYNOPSIS

Interesting variation of the Y2K bug.  I modified the source and the fix
will be in the next release.

Thanks for sending this.

Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>