[bash] Grep characters before and after match?