Playing with sed and regex and shell