From: nobu@... Date: 2006-08-13T10:58:56+09:00 Subject: Re: Parse/Split `cmd` Hi, At Sun, 13 Aug 2006 10:30:10 +0900, tjones wrote in [ruby-talk:208085]: > One very simple thing I do a lot in my TCL scripts is parse the output > from a cmd it would read [split $x \n]. lines = `cmd`.to_a lines = IO.popen("cmd") {|f| f.readlines} -- Nobu Nakada