newer - command for testing modification dates of two files
/usr/lib/desktop/newer file1 file2
The newer command compares the modification times (in seconds since
00:00:00 UTC, Jan. 1, 1970) of the two files given as arguments. If
file1 was modified more recently than file2, or if either file does not
exist, then the newer command returns a status of 0. Otherwise it
returns a status of 1.
The /var/X11/xdm/Xsession.dt script uses the newer command. The newer
command is not intended to be run directly by the end user, unless the
user is writing shell scripts.
For more information about the entire IRIX Interactive Desktop
environment, see the IID(1) man page.
PPPPaaaaggggeeee 1111 [ Back ]