Feito com um cachimbo, mas não é muito legal
$ sed -n '/comment/,$ p' file | sed -r '0,/comment/ s/comment - (.*)//'
text1
text1 continue
comment - text2
text2 continue
comment - text 3
text3 continue
Explicação
-
sed -n '/comment/,$ p' filelinhas de impressão decommentaté o final -
sed -r '0,/comment/ s/comment - (.*)//'encontra a primeira linha comcommente edita para removercomment -