randomising tracks: scripting question
Frank Shute
frank at shute.org.uk
Sun Dec 26 17:09:34 UTC 2010
I generally play my tracks of an album like so:
for track in $(cat trombone_shorty-backatown.m3u); do
mplayer $track
done
They then play in the correct order.
How would I go about randomising the order of play using
sh (preferably) or perl?
Sorry for the OT posting but I thought a brainteaser might clear the
fog caused by excessive Xmas indulgence ;)
Regards,
--
Frank
Contact info: http://www.shute.org.uk/misc/contact.html
More information about the freebsd-questions
mailing list