[GRASS5] html to man conversion
Markus Neteler
neteler at geog.uni-hannover.de
Sun Jan 14 15:23:15 EST 2001
Hi Michel,
some times ago reported, again investigated...
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?
My path settings are on Solaris:
PATH=.:/usr/sbin:/usr/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/SUNWspro/SC3.0.1/bin:/usr/ucb:/export/home/gnu/bin:/data/sara-neu:/export/home/OPT/comm/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/netpbm
Regards
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