[Bug 33253] Command line: Incorrect behavior of "for" command