Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
checkout the new etcat program
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Sun Apr 27, 2003 8:59 pm    Post subject: checkout the new etcat program Reply with quote

I was poking around the changelogs of recently updated packages and I noticed that etcat was added to gentoolkit.
Code:
Usage: etcat [ options ] [ action ] [ package ]

Actions:

    belongs (-b short option)
            Searches the portage for package that owns a specified file.
            with an option to restrict the search space. Example:
                etcat belongs /usr/bin/gimp media-gfx
                etcat belongs /usr/lib/libjpeg.so media-*
                etcat belongs /usr/lib/libmpeg.so

    changes (-c short option)
            Outputs the changelog entry to screen. It is possible to give
            a version number along with package name. eg:
                etcat changes mozilla
                etcat changes mozilla-1.1-r1
                etcat changes gkrellm$

    size (-s short option)
            Outputs the size of all the files used by a particular package.

    uses (-u short option)
            Outputs all the possible USE variables that it uses. Note,
            if the ebuild does not use IUSE, then a hack is employed to
            try and guess the use variables used, maybe inaccurate.

    versions (-v short options)
            Outputs all the ebuild versions available in your portage tree.
            How to decode the output:
             (M) : Masked Package
             (~) : Unstable Masked Package
             (I) : Installed Package
             Number on the end indicates package SLOT.

_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
nepenthe
Guru
Guru


Joined: 14 Jul 2002
Posts: 317
Location: Sanford, ME

PostPosted: Wed Apr 30, 2003 8:49 pm    Post subject: Reply with quote

awesome, sounds like could be very useful.

:lol: Sorry to be of topic, but your icon or avatar is awesome. I always see your posts somewhere and when reading what you write I can see the head out of the corner of my eye. Always think of first glance just some bald guy, then I take a second look, and I am like 8O whoa. lol sorry =]
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Wed Apr 30, 2003 10:33 pm    Post subject: Reply with quote

I filed a bug where the short options for etcat would just list its usage rather than doing the same as the full options. This is now fixed and short options are now working in the updated version. I agree that etcat is an excellent utility although I don't understand why there is qpkg, portage and etcat all with a large degree of overlap in what they do. I say merge the functionality and make one formidable tool! Is that worth an enhancement bug do you think?
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Wed Apr 30, 2003 10:36 pm    Post subject: Reply with quote

You are correct. I think the existence of three programs instead of one is due to growing pains. That part of the emerge code is kind of murky. I think people found it easier to start over. We do need an emerge 2.0. Any volunteers?
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Wed Apr 30, 2003 11:00 pm    Post subject: Reply with quote

nepenthe wrote:
a :lol: Sorry to be of topic, but your icon or avatar is awesome. I always see your posts somewhere and when reading what you write I can see the head out of the corner of my eye. Always think of first glance just some bald guy, then I take a second look, and I am like 8O whoa. lol sorry =]

Hey thanks mon. Glad to make the world a little more wide-eyed. 8)
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum