Randomising List (Re: mpg123 and crontab)
grail at goldweb.com.au
Fri Sep 20 08:09:38 EST 2002
On Friday, September 20, 2002, at 03:10 , Joshua McKinney wrote:
> Bash has a bit of a cow at trying to pass a command line of around 300k
> or so (guesstimate), os I need to think of some other way to generate a
> random filename from a large list of files.
Sounds like a job for wc and head/tail :)
Or use Perl - it's designed for doing weird stuff like picking a random
line out of a list (that's why it's called PERL - Pathologically
Eclectic Rubbish Lister).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 225 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20020920/3b5fe03c/attachment.bin
More information about the linux