<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!--body{padding:1ex;margin:0px;font-family:sans-serif;font-size:small;}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration;}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em;}blockquote blockquote{border-color:#006312;}blockquote blockquote blockquote{border-color:#540000;}--></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>Before I reinvent the wheel, is there a module that provides a command-line like parser that I can use? By command-line like parser, I mean that I would like to pass a string to this function and get back a list in the same manner as the OS receives a command line string which it parses into discrete items (handling quoted strings, backslashes, etc)</div>
<div> </div>
<div>I have a bunch of command lines (as strings) and I would like to parse them into argv-like lists for analysis and documentation.</div>
<div> </div>
<div>Thank you,</div>
<div>Malcolm</div>
<div> </div></div></body></html>