On Sat, May 14, 2011 at 02:55:20PM -0700, Anthony Martin wrote: > tlaro...@polynum.com once said: > > There is one utility used by MetaPost scripts: a binary "newer" using > > POSIX (sys/stat.h) mainly because if on POSIX compliant systems one can > > use find(1) with "-cnewer", Plan9 has not find(1). > > > > [...] > > > > What would be the prefered way using utilities available on Plan9 (and > > accessible for ape/sh) since the scripts are Bourne shell ones. > > The Plan 9 test(1) has "newer than" and "older than" > expressions just like the Korn shell's built-in.
Thanks! test a -nt b will do. -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C