Adding wildcard for sed trailing space removal