I have a pattern like
   $hosts = "fred[1,3-7,9-22]"

Is there a simple way to generate an expanded list like:
   fred1 fred3 fred4 fred5 ... 
etc.
?



Daniel.

--------------------------------------------------------------
Dr. Dan Kidger, Quadrics Ltd.      [EMAIL PROTECTED]
One Bridewell St., Bristol, BS1 2AA, UK         0117 915 5505
----------------------- www.quadrics.com --------------------


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to