Group: linux.gentoo.user
From: Neil Bothwick
Date: Monday, March 31, 2008 4:50 AM
Subject: Re: [gentoo-user] fast CLI package-Changelog viewer

--Sig_/8QzOAl9iHB+F.Yp5g+yGbom
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 31 Mar 2008 13:31:14 +0400, Andrew Gaydenko wrote:

> logviewer kdelibs
>=20
> will "produce" the same output as, say,=20
>=20
> less /usr/portage/kde-base/kdelibs/ChangeLog
>=20
> You see, it is impossible to remember all packages' dirs. Of course, I=20
> can use 'q' or 'eix' to find a dir and then type in a long 'less ...'=20
> command. But, well, why do all these 'eix' and 'q' exist? I think to=20
> save some users' time. Is my intention more clear now? :-)

Yes it is, but a very short shell script would handle this

#!/bin/sh
less $(portageq portdir)/$(eix --exact --only-names $1)/ChangeLog


--=20
Neil Bothwick

Das Internet is nicht fuer gefingerclicken und giffengrabben. Ist easy
droppenpacket der routers und overloaden der backbone mit der spammen
und der me-tooen. Ist nicht fuer gewerken bei das dumpkopfen. Das
mausklicken sichtseeren keepen das bandwit-spewin hans in das pockets
muss; relaxen und watchen das cursorblinken.

--Sig_/8QzOAl9iHB+F.Yp5g+yGbom
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkfwsrgACgkQum4al0N1GQOvwwCfVCtL/Y2qFkMBkYVtV23j+php
NF8Anjchnc3IHT8ASzjsm+2RRaVQUod9
=EhSU
-----END PGP SIGNATURE-----

--Sig_/8QzOAl9iHB+F.Yp5g+yGbom--
--
gentoo-user@lists.gentoo.org mailing list