The text from stdout and looks like the following and repeats the same four lines of data for every instance found from command tacmd listsit -m $thismanagedsystem -l
Type:Windows OS
Name:Non_Truncated_Name
Status:Stopped
Full Name:
Type:Windows OS
Name:Truncated_Name
Status:Started
Full Name:This_is_the_full_name
What I am trying to do is parse the data and grab everything on the right side of the colon add some additional text and then print it out as a single line.
the output line would look something like this:
server,product code,Type,Name,Full name
From what I seen in many posts, is looking for a word pattern over multiple lines, and trying those does not produce desired results