On Thu, Feb 26, 2009 at 4:01 PM, Tzafrir Cohen wrote: >> while [[ 1 < 2 ]]; do echo Hello; sleep 60;done > > Not only bashism, but also not as readable. > >> >> Replace "echo Hello" with your command. > > > #!/bin/sh > while true > do > your command > sleep 60 > done
Thanks for the improved one. The above snippet is from code I had written four years ago, when I was learning bash scripting... I've gone and changed it in my script too. :-) Kumar -- Kumar -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org