removed tailing substitution

removed tailing substitution causing all trailing space to be removed when extendedglob is set.