Re: Parsing csh scripts with python

2006-03-29 Thread gene tani
Dave Benjamin wrote: > On Tue, 28 Mar 2006, David Hirschfield wrote: > > > I need to be able to parse the script, modify some variable settings and > > then write the script back out so that the only changes are the > > variables I've modified (comments, ordering of statements, etc. must > > remai

Re: Parsing csh scripts with python

2006-03-29 Thread Steve Juranich
David Hirschfield wrote: > Is there a module out there that would be able to parse a csh script and > give me back a parse tree? > > I need to be able to parse the script, modify some variable settings and > then write the script back out so that the only changes are the > variables I've modified

Re: Parsing csh scripts with python

2006-03-28 Thread Dave Benjamin
On Tue, 28 Mar 2006, David Hirschfield wrote: > I need to be able to parse the script, modify some variable settings and > then write the script back out so that the only changes are the > variables I've modified (comments, ordering of statements, etc. must > remain the same). > > I looked at s

Parsing csh scripts with python

2006-03-28 Thread David Hirschfield
Is there a module out there that would be able to parse a csh script and give me back a parse tree? I need to be able to parse the script, modify some variable settings and then write the script back out so that the only changes are the variables I've modified (comments, ordering of statements,