parse_output function

Parse the output of a Condathis command