Re: parse an environment file
On Sun, Oct 7, 2012 at 4:14 AM, Jason Friedman <firstname.lastname@example.org> wrote:
>> The only canned solution for parsing a bash script is bash. Think
>> about it the other way around: If you wanted to have a Python variable
>> made available to a bash script, the obvious thing to do is to invoke
>> Python. It's the same thing.
> I scratched my own itch:
And there you have it! A subset of bash syntax and a Python parser. Job done!
|All times are GMT. The time now is 09:05 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.