On Thu, Jul 5, 2012 at 3:54 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote">On Thu, Jul 5, 2012 at 12:06 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I unrolled the shell loop so that the shell code can be processed by Python, and eventually converted to Python tests.</blockquote></div><div><br></div><div>This might be useful for lexing the shell commands.</div><br><div>
<a href="http://docs.python.org/library/shlex.html" target="_blank">http://docs.python.org/library/shlex.html</a></div><div><br></div><div>Is it that hard for Python to interpret enumerated for loops?</div>
</blockquote></div><br>There is no way I am parsing shell code. The aim should be to eliminate all shell code<div><br></div><div> Matt<br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>
</div>