#!/bin/bash
s='BBB-m      more info
BBB        more info
BBB-a      more info
BBB-w      more info'
awk '$1 == "BBB"{$0="; "$0}1' <<< "$s"
echo "---"
sed 's/^BBB[[:space:]]/; &/' <<< "$s"
