linux format, trailing space cleared