Report question

Question: Substitution with sed + bash function