[ingo] Ingo/procmail/vacation

Nate nmollring at cennecs.org
Fri Mar 4 10:34:31 PST 2005


Here is my procmail log error message:
ls: unrecognized option `--time-style=+%s'
Try `ls --help' for more information.
/bin/bash: test: -le: unary operator expected

Am I correct in assuming my os (SME 6.0.1 RH 7.3) doesn't have a new enough 'ls'
to support that option?
If so can anything be done to fix this?
thanks,
Nate

:0 
{
  FILEDATE=`ls -lcn --time-style=+%s 'vacation.username at test.org' | awk '{ print
$6 + (604800) }'`
  DATE=`date +%s`
  DUMMY=`test $FILEDATE -le $DATE && rm 'vacation.username at test.org'`

  

------------------------------------------------------------------------------
This information is strictly confidential and is intended to be viewed only by
the designated recipient.  If you are not listed as the designated recipient,
it has reached you in error and you may not view or share this information.  If
this has reached you in error, please contact the sender for further action to
be taken.



More information about the ingo mailing list