>From the keyboard of mjf at 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