On Fri April 17 2009 07:59:39 Erik Xavior wrote: > aaaa > why isn't working? :S > > if [ $(date +%H) > 10 ]; then echo "later then 10h"; else echo "before > 10h"; fi;
"> 10" created a file called "10". You probably want "-gt 10". --Mike Bird -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org