13 May
2011
13 May
'11
10:40 p.m.
Hi gabriel, I have written a datecheck. I like to compare the inputdate to the systmdate. This is my script: #!/bin/bash date1=`date -d $1 +%s` if test $? -ne 0 then dateerror="yes" exit 0 fi exit 0 I can.t export the variable dateerror. Is the given date wrong, give a yes return. fs ignore action. Can you see please what is wrong? thanks --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc