[GRASS5] html to man conversion
jhickey at hpcc.nectec.or.th
Mon Jan 15 07:24:36 EST 2001
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
> .. but above problem is still there.
> The "-ot" test occurs from
> 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
Jazzman (a.k.a. Justin Hickey) e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
People who think they know everything are very irritating to those
of us who do. ---Anonymous
Jazz and Trek Rule!!!
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