Skip site navigation (1)Skip section navigation (2)
Date:      12 Aug 1999 11:42:42 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Graham Wheeler <gram@cequrux.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: New tests for test(1)
Message-ID:  <xzplnbhtjvx.fsf@flood.ping.uio.no>
In-Reply-To: Graham Wheeler's message of "Thu, 12 Aug 1999 11:18:50 %2B0200"
References:  <37B2917A.6CBBC950@cdsec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Graham Wheeler <gram@cequrux.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplnbhtjvx.fsf>