Bugs item #1521950, was opened at 2006-07-13 10:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1521950&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Dan Christian (robodan) Assigned to: Nobody/Anonymous (nobody) Summary: shlex.split() does not tokenize like the shell Initial Comment: When shlex.split defines tokens, it doesn't properly interpret ';', '&', and '&&'. These should always be place in a separate token (unless inside a string). The shell treats the following as identical cases, but shlex.split doesn't: echo hi&&echo bye echo hi && echo bye echo hi;echo bye echo hi ; echo bye echo hi&echo bye echo hi & echo bye shlex.split makes these cases ambiguous: echo 'foo&' echo foo& echo '&&exit' echo &&exit ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1521950&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com