use skip whitespace if command end is not eol