I have a problem.
I have a large data files I need to feed through a parser but the data files is a little misformatted.
The section I need to parse looks like this :
: (ReferenceObject
:Name (damned_object_name)
:Table (network_objects)
:Uid ("{169F8374-BD52-44F2-86E6-952579B8F5FB}")
)
And the parser is expecting :
: damned_object_name
Part of my head is saying there has to be some easy peasy way with sed/awk in linux or with some decently advanced editor on windows (like notepad++) to have it convert the file into something the parser can handle, but my brain isn't seeing it yet. Don't have access to tinker with the parser or else I would have done it on that end.
If someone can come up with a way to do this easily I have a $25 amazon gift card i'll post as a bounty. I just have too much on my plate to dive into this one at the moment... Also been too busy to find some chesty lady to get a RR post it note on her tits and a pic else I would have posted that instead...
Haus
I have a large data files I need to feed through a parser but the data files is a little misformatted.
The section I need to parse looks like this :
: (ReferenceObject
:Name (damned_object_name)
:Table (network_objects)
:Uid ("{169F8374-BD52-44F2-86E6-952579B8F5FB}")
)
And the parser is expecting :
: damned_object_name
Part of my head is saying there has to be some easy peasy way with sed/awk in linux or with some decently advanced editor on windows (like notepad++) to have it convert the file into something the parser can handle, but my brain isn't seeing it yet. Don't have access to tinker with the parser or else I would have done it on that end.
If someone can come up with a way to do this easily I have a $25 amazon gift card i'll post as a bounty. I just have too much on my plate to dive into this one at the moment... Also been too busy to find some chesty lady to get a RR post it note on her tits and a pic else I would have posted that instead...
Haus