New answers tagged utilities
The xml2 command will convert XML to flat text. $ cat foo.xml <?xml version='1.0'?> <doc name="document"> <object name="foo"> <key name="bar">baz</key> </object> <definition name="ticketOpen" extends="ticketUpdate"> <put name="title" value="Open Ticket" /> <put name="mainForm" value="open.jsp" /> ...
Seems like this is something that would be more appropriate to use xpath. If that is an option, I can get up a sample command line. If it helps, this command is available in ubuntu from the package libxml-xpath-perl.
Use sed: sed -n -e '/definition/,/\/definition/ p' definitions.xml
It's easy to add new functionality to mhWaveEdit. Get the source and look at some of the existing functions in mainwindow.c. You'll be using w->doc->chunk->length, w->doc->selstart, and w->doc->selend. There is a function create_menu where you can insert some menu items in menu_items1, and because the functionality is probably based on ...
Top 50 recent answers are included