NEW
  PREFIX
AUTO 4,1
#!/BIN/SH
#
# This script touchs a file or directory
#
#
SET TOUCHFILE = $1
IF [ -D $TOUCHFILE ]
  # Touch a Direcory
  ECHO -N "" > ${TOUCHFILE}/TMPTOUCHFILE
  RM -Q ${TOUCHFILE}/TMPTOUCHFILE
ELSE
  IF [ -F $TOUCHFILE ]
    # Touch an existing File
    CP -Q ${TOUCHFILE} TMPTOUCHFILE
    CP -Q TMPTOUCHFILE ${TOUCHFILE}
    RM -Q TMPTOUCHFILE
  ELSE
    # Create New Empty File
    ECHO -N "" > ${TOUCHFILE}
  FI
FI
MAN
TEXT /MAKE/USR/SHARE/EXAMPLES/TOUCH
