(21:15:32:873) SMART>> Starting Process '/abs/nc/qwcy/xyz'. pid 11560


I want to parse the following few things from the above string

(21:15:32:873)
xyz
pid 11560

and output as below,

(21:15:32:873), xyz, pid 11560


I am stuck and I would appreciate if someone could give me some help. I
am newbie to ruby....thanks
-- 
Posted via http://www.ruby-forum.com/.