trying to figure out sed and characters