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 1E8gZG-0000NS-Ah
	for garchives@archives.gentoo.org; Fri, 26 Aug 2005 15:56:34 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7QFsFuc001353;
	Fri, 26 Aug 2005 15:54:15 GMT
Received: from smtp-2u-1g.atlantic.net (smtp-2u-1g.atlantic.net [209.208.0.105])
	by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7QFmdpP019302
	for <gentoo-user@lists.gentoo.org>; Fri, 26 Aug 2005 15:48:40 GMT
Received: (qmail 15237 invoked by uid 0); 26 Aug 2005 15:50:03 -0000
Received: from unknown (HELO croatus) (209.208.34.71)
  by smtp-2u-1g.atlantic.net with SMTP; 26 Aug 2005 15:50:03 -0000
From: "John Dangler" <jdangler@atlantic.net>
To: <gentoo-user@lists.gentoo.org>
Subject: RESOLVED: [gentoo-user] emerge output
Date: Fri, 26 Aug 2005 11:49:53 -0400
Message-ID: <01dc01c5aa55$df7b77c0$0501a8c0@croatus>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.6626
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
In-Reply-To: <20050826083301.GB23152@lisa.tutaj>
Importance: Normal
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j7QFmdpP019302
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j7QFsFuv001353
X-Archives-Salt: 43b096e4-6b80-4741-9225-f73a585ac42f
X-Archives-Hash: a7cedde63e5d2142be507e0f1065a584

Neil, Mariusz~

Thanks for the input.  Just setting up PORT_LOGDIR has gone a long way to
providing exactly what I'm looking for.  It's a shame that this isn't set=
up
by default, but I can think of a few reasons why it isn't.

John D=20

-----Original Message-----
From: Mariusz P=EAkala [mailto:skoot@qi.pl]=20
Sent: Friday, August 26, 2005 4:33 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge output

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 Wi=
ki:
>=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.

...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.



--=20
gentoo-user@gentoo.org mailing list