16 Apr
2003
16 Apr
'03
3:40 p.m.
Gustavo> Ok, I'll check if there's an easy way to "turn" shlex into Gustavo> shellwords. Cool. Based on this thread and an experiment I tried, some obvious (to me) things come to mind: * get_token() needs to be fixed to handle the 'bar'asd'foo' case * the shlex class should handle strings as input, not just file-like objects * get_word() or get_words() methods in the shlex class could implement the shellwords functionality Skip