You can just do

(PipeableOSProcess command: 'mpc status') output lines first

(also +1 for mpd :))

On Tue, Jun 7, 2016 at 8:27 PM, sergio ruiz <sergio.rrd@gmail.com> wrote:
I have a feeling this is wrong, but I am not sure how to make it work cleanly..

This:

|s|

s := (((PipeableOSProcess command: '/usr/local/bin/mpc status') output) findTokens: Character lf) first

should i have all the parenthesis in there? is there a cleaner way to do this?

thanks!


----
peace,
sergio
photographer, journalist, visionary
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.Village-Buzz.com
http://www.ThoseOptimizeGuys.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101