From owner-freebsd-hackers Thu Aug 12 22:37:57 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 1C2411573C for ; Thu, 12 Aug 1999 22:37:28 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40345>; Fri, 13 Aug 1999 15:16:58 +1000 Date: Fri, 13 Aug 1999 15:36:24 +1000 From: Peter Jeremy Subject: Re: New tests for test(1) To: hackers@FreeBSD.ORG Cc: gram@cequrux.com Message-Id: <99Aug13.151658est.40345@border.alcanet.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I was writing a script yesterday, and I wanted to have a test to compare >the modification time of two files. I've written programs to do this before as well. A more portable approach is find file1 -newer file2 ... >thinking - wouldn't it be a good idea to add some new tests to test(1), >to compare files based on criteria like size or modification date? > >Anyone else think this is a good idea? It would be nice, but there are portability issues. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message