sed does not return useful error codes. This wrapper solves that problem by checking the application of each single sed expression for actual modification of the corresponding file.
Created attachment 96064 [details] esed.eclass
Created attachment 96067 [details] esed.eclass
Any new eclass needs to be discussed on gentoo-dev mailing list. Please, take the suggestion there meanwhile. Thanks. http://www.gentoo.org/main/en/lists.xml