[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Looping a script
- From: Vidiot <brown mrvideo vidiot com>
- To: redhat-list redhat com
- Subject: Re: Looping a script
- Date: Sun, 18 Feb 2001 16:53:42 -0600 (CST)
> 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: vidiot vidiot com
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)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]