Anders Johansson wrote: > On Tuesday 20 November 2007 02:00:32 Stephan Hegel wrote: >> sec=`expr 60 \* $min` >> sec=`expr $mysec - $sec` > > As I already posted, these two lines are better done through modulus - > mysec%60, Yes, you're right. I was just not aware that the modulus operation is available in the shell.
But you have to write it like that (with spaces before and after the % !): sec=`expr $mysec % 60` Otherwise the modulus operation isn't executed. Thanks for the hint, Stephan. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
