Hi Karltk, Here's the patch demonstrating the type of output that'd be much friendlier for using in other scripts. I've patch etcat -f so that it lists every file, one per line - and nothing else. To give you an example of how I use it, I've also attached the script I use it in. Maybe you could turn this into a bit of python that does the same, and add it to gentoolkit? Best regards, Stu
Created attachment 15137 [details, diff] Patch against etcat
Created attachment 15138 [details] Script that uses the modified etcat
Created attachment 15139 [details] Shell library that genrdepend relies upon
Any chance of something happening about this? Thanks, Stu
yeah .. well, i've been a bit busy and karltk has refactored alot of the code in etcat into a seperate gentoolkit.py module. i had a look at this and some other etcat bugs but haven't had time to go into depth with it. but i'll try and look into this as soon as i find some time. i notice that the latest gentoolkit ebuild still has the old etcat code, so i'm not sure whether the gentoolkit.py refactoring has been completed or release ready yet. i wish the gentoolkit src was available on cvsview, but it is currently in its own module "gentoolkit" at the moment. i've had a brief look at the patch and it seems fine. if you would like to commit the patch yourself, please go ahead. thanks
i'm not sure how relevant this is right now .. but i plan to go thru all my etcat bugs in the near future.
I've not kept up with the latest changes (as I use a locally-butchered version of etcat daily), but why wouldn't it be relevant any more? Stu
when i mean relevant, i mean to say that maybe the one in the newest gentoolkit may have fixed it .. i haven't had time to check
old and etcat is obsoleted.