Fred L. Drake, Jr. <fdrake@acm.org>: > Gustavo Niemeyer writes: > > Ok, I'll check if there's an easy way to "turn" shlex into shellwords. > > Is there any real objection to simply fixing shlex to get it right? > I'm guessing that the divergence from shell quoting was more a matter > of implementation expedience and a feeling that it was "good enough" > for whatever original application it was written for. That is correct. I originally wrote shlex as the parser logic for a .netrc module. I would have no intrinsic objection to having this behavior fixed, though there is of course the general problem of how much we value not breaking old code. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4