#! /bin/sh

# returns 0 when $1 newer than $2 or $2 does't exist
#
# $Id: testnewer,v 1.1 1995/11/27 07:58:10 gpani Exp $
# $Log: testnewer,v $
# Revision 1.1  1995/11/27 07:58:10  gpani
# Initial revision
#
# Revision 1.1  1995/11/15 07:54:24  gpani
# Initial revision
#

if [ ! -f "$2" ] ;
then 
        exit 0 ;
fi
 
if [ "0`find $1 -newer $2 -exec echo 1 \;`" -eq "1" ] ; 
then
        exit 0 ;
else
        exit 1 ;
fi
