Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 1999 15:36:24 +1000
From:      Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
To:        hackers@FreeBSD.ORG
Cc:        gram@cequrux.com
Subject:   Re: New tests for test(1)
Message-ID:  <99Aug13.151658est.40345@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Aug13.151658est.40345>