From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 15 May 2011 08:52:55 +0200 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20110515065255.GA425@polynum.com> References: <20110514212524.GA28019@polynum.com> <20110514215520.GA15310@dinah> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110514215520.GA15310@dinah> User-Agent: Mutt/1.4.2.3i Subject: Re: [9fans] Easy stating of newer files on Plan9 Topicbox-Message-UUID: e41cd022-ead6-11e9-9d60-3106f5b1d025 On Sat, May 14, 2011 at 02:55:20PM -0700, Anthony Martin wrote: > tlaronde@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 http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C