> What's the best/safest way to loop a script over and over again?
>
> All it does is call a different program with arguments (it plays mp3
>files) and I want it to loop and start again when it reaches the end.
>
> #!/bin/sh
> amp -p "file one.mp3"
> amp -p "file two.mp3"
> ...
You can use a while loop, using a variable that is always true. It'll never
end that way :-)
MB
--
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys? Lisa: They must have
programmed it to eliminate the competition. Bart: You mean like
Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list