On Fri, Apr 17, 2009 at 04:59:39PM +0200, Erik Xavior wrote: > aaaa > why isn't working? :S > > if [ $(date +%H) > 10 ]; then echo "later then 10h"; else echo "before 10h"; > fi;
because '>' is a string operator? try '-gt' A
signature.asc
Description: Digital signature