Quote:
Originally Posted by xgringo
I put your script in hourold.sh and greped stashd what's teletype syntax error on line 1 mean?
|
It means that "bc" is getting rubbish. I tested this on Solaris 9.
I suggest you add a line that says
Code:
echo DAYS=$DAYS, HOURS=$HOURS, MINUTES=$MINUTES, SECONDS=$SECONDS
prior to the maths with bc.
and
after the "do".