#!/bin/bash
s="Group: ch.qos.lback Name: lback.sa Version: 0.1.11
Manifest Project URL: http://www.xx.x
Manifest license URL: http://www.xx.x/l.html
SUM License: Abra Nabra License - v 3.0 \- http://www.xx.x/l.html
SUM License: GNU Lesser General Public License \- http://www.gnu.org/licenses/lhtml
Group: com.aol.sim Name: cycact Version: 3.0.0-RT
SUM Project URL: https://xx.com/xx
SUM License: The Apache Software License, Version 2.0 \- http://www.apache.org/licenses/LICENSE-2.0.txt
Group: com.fa Name: ce Version: 1.3.4
SUM License: The Apache Software License, Version 2.0 \- http://www.apache.org/licenses/LICENSE-2.0.txt
Embedded license: cle-1.3.4.jar/META-INF/LICENSE cle-1.3.4.jar/META-INF/NOTICE"
sed 's/^SUM License: *\([^\]*\).*/&;\1/' <<< "$s"