Path: utzoo!utgpu!cunews!bnrgate!bwdls58!leibniz!scottp From: scottp@bwdlh504.bnr.ca (Scott Pace) Newsgroups: comp.unix.shell,bnr.general Subject: Comparing modified times of files Message-ID: Date: 8 Mar 91 14:35:23 GMT Sender: news@bwdls58.bnr.ca Distribution: comp Organization: Bell Northern Research, Ottawa, Canada Lines: 8 I would like to be able to compare two files' time stamps, to see which one is the oldest (or newest). How can I do this with sh? I know about ksh and perl, but I want to know how it can be done with plain old Bourne Shell. I am running on HP-UX, if that makes a difference. -- Scott Pace, Bell Northern Research, Ottawa, Canada, (613) 765-2631 scottp@bnr.ca