From owner-freebsd-hackers Thu Aug 12 2:43:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id B8A4614E9F for ; Thu, 12 Aug 1999 02:43:28 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id LAA17254; Thu, 12 Aug 1999 11:42:43 +0200 (CEST) (envelope-from des) To: Graham Wheeler Cc: hackers@FreeBSD.ORG Subject: Re: New tests for test(1) References: <37B2917A.6CBBC950@cdsec.com> From: Dag-Erling Smorgrav Date: 12 Aug 1999 11:42:42 +0200 In-Reply-To: Graham Wheeler's message of "Thu, 12 Aug 1999 11:18:50 +0200" Message-ID: Lines: 13 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Graham Wheeler writes: > I was writing a script yesterday, and I wanted to have a test to compare > the modification time of two files. test(1) doesn't have the ability to > do this. In the end I worked around this by using make(1), but it set me > 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? NetBSD's test(1) utility has this (-nt and -ot). We should probably merge in their changes. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message