Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!newstop!texsun!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.shell Subject: Re: Comparing modified times of files Message-ID: <1991Mar22.012635.1045@convex.com> Date: 22 Mar 91 01:26:35 GMT References: <930001@mjm.mjm.com> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 10 Nntp-Posting-Host: pixel.convex.com From the keyboard of mjf@mjm.mjm.com (Mark Fresolone): : : ls -t file1 file2 | line # returns newest : ls -rt file1 file2 | line # returns oldest line: command not found Perhaps you mean "sed -ne 1p"? --tom