Hamish wrote: > [finding r.composite] > > mitch_TX wrote: > > it's in "Raster -> Manage map colors -> Create RGB" > > > > there was a wish a while ago to build a menu tree for the commands, not > > sure if it went anywhere. Maybe something could be built into > > tools/module_synopsis.sh (add a line of text under each module descr with > > italicized a->b->c menu location?) > > todo. hmmm... > > MODULE=r.composite > xml2 < gui/wxpython/xml/menudata.xml | grep -B5000 "$MODULE" | \ > sed -e 's+^/menudata/menubar/menu/++' | tac | \ > grep '/label=\|^label=' | grep -B1000 '^label=' -m 1 | ... ? > > may have to call in awk..
I don't know what you're trying to do, but I'm >95% certain that it would be easier to do it in Python, probably by cannibalising gui/wxpython/gui_modules/menudata.py. -- Glynn Clements <gl...@gclements.plus.com> _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user