From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 14 May 2011 23:25:24 +0200 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20110514212524.GA28019@polynum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: [9fans] Easy stating of newer files on Plan9 Topicbox-Message-UUID: e40d3aa4-ead6-11e9-9d60-3106f5b1d025 Hello, I have finished to add MetaPost to kerTeX and I'm testing and polishing. My aim is to have something strictly C89. 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). 3 options: 1) Let this POSIX exception "newer"; 2) Drop this optimization (AFAIK) in the scripts; 3) Patch the scripts with "find..." for not Plan9, and some ls, cut, whatever line for Plan9 just for consistency. My preference is 3). What would be the prefered way using utilities available on Plan9 (and accessible for ape/sh) since the scripts are Bourne shell ones. TIA -- Thierry Laronde http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C