[GRASS5] html to man conversion
Markus Neteler
neteler at geog.uni-hannover.de
Tue Jan 16 16:39:00 EST 2001
On Mon, Jan 15, 2001 at 07:24:36PM +0700, Justin Hickey wrote:
> Hi Markus
>
> Markus Neteler wrote:
> > On Tue, Dec 05, 2000 at 06:35:43PM +0000, Michel Wurtz wrote:
> > > Markus Neteler wrote:
> > > >
> > > > Hi again,
> > > >
> > > > unfortunately another bug found on SUN in
> > > > html/Gmakefile
> > > >
> > > > Copying html pages
> > > > /bin/sh: test: unknown operator -ot
> > > >
> > > > I don't know the meaning of -ot, but it's not portable
> > > > (Huidae, Michel?).
> > >
> > > Uh ? excerpt from SunOS 5.7 man page of test
> > >
> > > file1 -ot file2
> > > True, if file1 exists and is older than file2.
> > >
> > > BUT... [ or test are in /usr/ucb or /usr/bin for sun =>
> > >
> > > $ if /usr/bin/test Lespinard.zip -ot Duclaux.zip ; then echo ok ; fi
> > > ok
> > > $ if /usr/ucb/test Lespinard.zip -ot Duclaux.zip ; then echo ok ; fi
> > > test: unknown operator -ot
> > > $
> > >
> > > Conclusion :
> > > if test file1 -ot file2 ; then echo ok ; fi # doesn't work
> > > if /bin/test file1 -ot file2 ; then echo ok ; fi # works !
> > >
> > > Silly mixing of old SunOS and new Solaris versions... !
> > I have checked that. And I have renamed
> > /usr/ucb/test
> > to
> > /usr/ucb/test_old
> >
> > .. but above problem is still there.
> >
> > The "-ot" test occurs from
> > html/Gmakefile:
> >
> > if [ ! -f $$f -o $$f -ot $$h ]
> >
> > So "test" is not called directly. How can we fix this?
>
> It has to be changed since the -ot option is not supported on SGI
> machines. Perhaps we could use the getModTime function I added to
> src/general/init but then it would need to be compiled before the html
> conversion.
Hi Justin,
generally I don't see a problem to compile such tools. DO you
see a change to implement that?
Yours
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list