From: 7stud -- Date: 2011-04-16T03:27:20+09:00 Subject: Re: Extract a range i.e. svr[100..130] ? Richard Sandoval wrote in post #993057: > This is a definite step in the right direction and I appreciate your > assistance Jesus/7stud > > So I have a fieldname in a UI which is named Hostnames: > > Within the hostname field, it could have a single host named > svr10.domain.local or it could have a range like > svr.10.domain.local,svr[100..103].domain.local. > > Essentially what I am trying to do is to get that hostname field in my > script and for each individual host and/or a range of hosts then do a > specific command or go through my work flow. ...and so what have you tried given the above? -- Posted via http://www.ruby-forum.com/.