From owner-freebsd-hackers Thu Aug 12 8:44:34 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id E9DB7157E5 for ; Thu, 12 Aug 1999 08:44:29 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.3/8.8.7) with ESMTP id LAA91725; Thu, 12 Aug 1999 11:41:31 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Thu, 12 Aug 1999 11:41:31 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Dag-Erling Smorgrav Cc: Graham Wheeler , hackers@FreeBSD.org Subject: Re: New tests for test(1) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12 Aug 1999, Dag-Erling Smorgrav wrote: > 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. Hmm... this is in pdksh too... > > DES > -- > Dag-Erling Smorgrav - des@flood.ping.uio.no > Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ green@FreeBSD.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | http://www.FreeBSD.org/ _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message