I suggest the inclusion of the xml extensions to gawk so xml could be used in scripts, see http://homepage.mac.com/stefan.tramm/iWiki/DownloadSection.html for details about xmlgawk. Maybe a xmlgawk USE to gawk Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 35884 [details, diff] diff to implement the suggested extension this is the diff -rcN from my local portage and the regular portage dir
added to 3.1.4-r2, thanks for the bug report !
this patch has caused bug #81793: gawk is in /bin and *can't depend* on libexpat which is /usr/lib. make sure to change one of these has changed before applying your patch to gawk.