Need the output in the mentioned Table format

Hi Friends,

I have the script output like below:

Script Output:
-----------------------------------------------------------------------
Details of the Client:
-----------------------
                        name: server1;
                    save set: All;

                        name: server2;
                    save set: All;

                        name: server3;
                    save set: All;
                      
Group Details:
--------------
                        name: server1;
                  start time: "1:30";
                    schedule: Daily;

                        name: server2;
                  start time: "2:30";
                    schedule: Weekly;

                        name: server3;
                  start time: "3:30";
                    schedule: Monthly;
-----------------------------------------------------------------------

But I would like the output to be in the below Table format (in any file format)

Please find the attachment for the Table Output format and help me to get the same.

Thanks,
Mani.

Any attempts from your side?

Below is the script :

cat show_config
for SC in `/bin/cat show_config`; do
printf "show name;schedule;group;save set;Retention Policy\n print type:nsr client;name:$SC\n" | /usr/sbin/nsradmin -i- -s servername
MY=`printf "show group\n print type:nsr client;name:$SC\n" | /usr/sbin/nsradmin -i- -s servername`
for MA in $MY; do
if [ "$MA" != "group:" ]; then
LEN=${#MA}
GRP=${MA:0:LEN-1}
printf "show name;schedule;start time\n print type:nsr group;name:$GRP\n" | /usr/sbin/nsradmin -i- -s edcpar5ns01-dr
fi
done
done

Please use code tags as required by forum rules!

Yes, that's the script. But what are your attempts to format the data into the desired table?