diff options
-rwxr-xr-x | cmd2.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1340,13 +1340,13 @@ class Cmd(cmd.Cmd): raw_tokens.append(cur_initial_token) continue - # Keep track of the current token we are building - cur_raw_token = '' - # Iterate over each character in this token cur_index = 0 cur_char = cur_initial_token[cur_index] + # Keep track of the token we are building + cur_raw_token = '' + while True: if cur_char not in REDIRECTION_CHARS: |