Hello,

I'm trying to capture the output from a command a slice and dice it into an
array of hashes.  The data looks like this:

object manager name: snmpCollect
state:               RUNNING
PID:                 463
last message:        Initialization complete.
exit status:         -

object manager name: ovrequestd
state:               RUNNING
PID:                 156
last message:        Initialization complete.
exit status:         -

Each service section is divided by a newline, and each pair is colon
seperated.  I've tried split, but all I ever get is all the out put crammed
into one scalar.  I'd post some code, but so far its been too pityful!  Any
clue would be helpfull.

Thanks,

Bradley


---------------------------------
   o^o   Bradley Wendelboe       
   /V\   Network Administrator   
  // \\  Polaris Industries Inc.
 /(   )\ 
  ^^-^^  
---------------------------------


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

Reply via email to