Re: Definitive tnsnames.ora parsing
Date: Mon, 16 Feb 2009 23:47:35 +0100
I don't know if your google searches have taken you to this page,
since I reached it by other means. But I discovered on it a few days ago
a parser for .ora files:
http://www.antlr.org/grammar/list (look for "Oracle Net Services"). I have not checked it and cannot say anything about what it does and doesn't include. But presumably, since this is a grammar, you can probably alter it easily if anything is missing.
HTH S Faroult
Brady, Mark wrote:
> I've been asked if there is a definitive perl/python script for parsing *.ora files.
> Every example we found via google, it seemed that the developer only coded for what they knew their file included.
> Anyone have a reference or link or code they could share - even if it's not perl or python?