[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 17:19:47 -0600 (CST)
>> However, this will play the files sequentially, in (sorted) order. I
>> want it to be randomized, like the output of 'ls -AQU'
>
>while [ 1 ]
>do
> for mp3 in `/bin/ls -AQU *.mp3`
> do
> amp -p $mp3
> done
>done
But that isn't truly random either, because once a pass is completed, it
will repeat the same pass.
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]