From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E8ZiW-0002Pe-2t for garchives@archives.gentoo.org; Fri, 26 Aug 2005 08:37:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7Q8ZPRG022090; Fri, 26 Aug 2005 08:35:25 GMT Received: from 80.55.160.128 (ve128.internetdsl.tpnet.pl [80.55.160.128]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7Q8Vovf020596 for ; Fri, 26 Aug 2005 08:31:50 GMT Received: (qmail 821 invoked by uid 1000); 26 Aug 2005 10:33:01 +0200 Date: Fri, 26 Aug 2005 10:33:01 +0200 From: Mariusz =?iso-8859-2?Q?P=EAkala?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] emerge output Message-ID: <20050826083301.GB23152@lisa.tutaj> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <017e01c5a9c8$fa706370$0501a8c0@croatus> <430E58D4.90200@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: <430E58D4.90200@planet.nl> User-Agent: Mutt/1.5.8i X-Archives-Salt: 96e04a03-dee3-4b19-b7a8-177ec491e9eb X-Archives-Hash: 247895eada55c0a696a0a7f22d39fcda --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005-08-26 01:48:36 +0200 (Fri, Aug), Holly Bostick wrote: > Idea #3: there is a way (and possibly more than one) to tail out the > einfo messages, either to a file, or to the console, but unfortunately I > don't remember what they are atm.... Oh, wait, they're listed on the Wiki: >=20 > http://gentoo-wiki.com/TIP_Portage_utilities_not_in_portage >=20 > I think what you might want is portlog-info, which is in the > Informational Utilities section. =2E..or something dumber^H^H^H^H^Hsimpler: # --------------------------------------- #!/bin/bash COUNT=3D60 cd /var/log/portage || exit -1 for file in $( ls -1rt | tail -n $COUNT) do if grep $'\e' "$file" | grep -q -v -e " Applying [^ ]*.patch" -e $'\e'"\[= 32;01mok"$'\e'"\[34;01m" then tput bold echo ' ----------------------------------------------------' ls -l "$file" echo ' ----------------------------------------------------' tput sgr0 =20 grep $'\e' "$file" | grep -v " Applying [^ ]*.patch" fi done # --------------------------------------- =20 The log files are created when you set the PORT_LOGDIR in /etc/make.conf (yeah, you replace then that "cd /var/log/portage" with your - possibly different - location, or do something like eval $(grep "^PORT_LOGDIR=3D" /etc/make.conf)) . HTH --=20 No virus found in this outgoing message. Checked by 'grep -i virus $MESSAGE' Trust me. --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDDtO9IzblgXdKMIURAn8oAJ9JyP/NXXZ1V4G/VJ+cowj/X0ZWKwCgqfN7 mYsEeVhT/0rOYCrZlscEvZc= =erxJ -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN-- -- gentoo-user@gentoo.org mailing list