[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Looping a script
- From: "Ashley M. Kirchner" <ashley pcraft com>
- To: redhat-list redhat com
- Subject: Re: Looping a script
- Date: Sun, 18 Feb 2001 16:36:31 -0700
Vidiot wrote:
> >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.
That, is okay actually. There are enough songs (well over 500) for it not
to matter.
AMK4
--
H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP!
|____________________________________________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ashley M. Kirchner <mailto:ashley pcraft com> . 303.442.6410 x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . eFax 248.671.0909
http://www.pcraft.com . 3550 Arapahoe Ave, #6
.................. . . . . Boulder, CO 80303, U.S.A.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]