From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-85752-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KvjfN-0008Be-4z
	for garchives@archives.gentoo.org; Fri, 31 Oct 2008 02:23:13 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7A6FAE02B2;
	Fri, 31 Oct 2008 02:23:11 +0000 (UTC)
Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.155])
	by pigeon.gentoo.org (Postfix) with ESMTP id 4E753E02B2
	for <gentoo-user@lists.gentoo.org>; Fri, 31 Oct 2008 02:23:11 +0000 (UTC)
Received: by yw-out-1718.google.com with SMTP id 5so472040ywm.46
        for <gentoo-user@lists.gentoo.org>; Thu, 30 Oct 2008 19:23:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type:references;
        bh=Sc0TbWJvRWU+yu1/YNbTmXXN5yDoclal+aMkvBx6uVs=;
        b=b+4Z2wkHQzqLyfSnRlXSxCs0GNYYtgetLWAP8sZlt1P2Mg3ofrGpvjvLmQkvAb9tuE
         rTIA3qaGzSC9Mq77RayoRio99ctQ5++KXMJfzxo13XPl+1FXkaZIzeaSLIwqKiaqitgt
         bqQLOng4+7KurlYkw4h2eU3AcA7Fzwfv2rKhg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:references;
        b=a6yKwZmxaTyeLKcicse7tJuCPzUdlNa6WCJHg3aTFqH3pyONk/vWW6GSGjycvK5FHE
         S7IViymbxNwdV649ILY3tKVhevDMrRDWcAaKI/Vf7mfS8kl2MpYpN9uSj8dtF3KpRfT6
         +Vu2sa3M5N4J+BgjjUBBCljBDe00tVQkajGlM=
Received: by 10.151.111.1 with SMTP id o1mr19762220ybm.25.1225419789821;
        Thu, 30 Oct 2008 19:23:09 -0700 (PDT)
Received: by 10.150.198.18 with HTTP; Thu, 30 Oct 2008 19:23:09 -0700 (PDT)
Message-ID: <350fc7cf0810301923g52f8a677s4e9f8ed9c11fed80@mail.gmail.com>
Date: Thu, 30 Oct 2008 19:23:09 -0700
From: "Andrey Falko" <ma3oxuct@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
In-Reply-To: <20081031004026.GB9216@crowfix.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_9867_29109577.1225419789796"
References: <878ws6urjb.fsf@chateau.d.lf> <490A3A40.1000806@netspace.net.au>
	 <20081031004026.GB9216@crowfix.com>
X-Archives-Salt: 4365de00-6d21-4c65-810f-64de659e3935
X-Archives-Hash: d657b80959ffb236dfae7c8c154379d4

------=_Part_9867_29109577.1225419789796
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Thu, Oct 30, 2008 at 5:40 PM, <felix@crowfix.com> wrote:

> On Fri, Oct 31, 2008 at 08:20:40AM +0930, Iain Buchanan wrote:
>
> > less /usr/share/doc/libxcb/manual/blah.doc.bz2
> > cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d
> > cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2
>
> and grep?

You don't need bzgrep or what ever....just bzcat /ab/def/sd/blah.bz2 | grep
yay

Or if you want to use the cases above, a "| grep yay" should be more than
enough...plus you get the colors in the results.

It does get a little annoying when you want to use grep for all files in the
directory, but nothing a little for loop cannot fix:

for i in /path/to/dir/*; do echo $i; bzcat $i | grep yay; done

>
>
> --
>            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
>     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
>  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license
> #4933
> I've found a solution to Fermat's Last Theorem but I see I've run out of
> room o
>
>

------=_Part_9867_29109577.1225419789796
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div class="gmail_quote">On Thu, Oct 30, 2008 at 5:40 PM,  <span dir="ltr">&lt;<a href="mailto:felix@crowfix.com">felix@crowfix.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, Oct 31, 2008 at 08:20:40AM +0930, Iain Buchanan wrote:<br>
<br>
&gt; less /usr/share/doc/libxcb/manual/blah.doc.bz2<br>
&gt; cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d<br>
&gt; cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2<br>
<br>
</div>and grep?</blockquote><div>You don&#39;t need bzgrep or what ever....just bzcat /ab/def/sd/blah.bz2 | grep yay <br><br>Or if you want to use the cases above, a &quot;| grep yay&quot; should be  more than enough...plus you get the colors in the results.<br>
<br>It does get a little annoying when you want to use grep for all files in the directory, but nothing a little for loop cannot fix:<br><br>for i in /path/to/dir/*; do echo $i; bzcat $i | grep yay; done<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.<br>
 &nbsp; &nbsp; Felix Finch: scarecrow repairman &amp; rocket surgeon / <a href="mailto:felix@crowfix.com">felix@crowfix.com</a><br>
 &nbsp;GPG = E987 4493 C860 246C 3B1E &nbsp;6477 7838 76E9 182E 8151 ITAR license #4933<br>
I&#39;ve found a solution to Fermat&#39;s Last Theorem but I see I&#39;ve run out of room o<br>
<br>
</div></div></blockquote></div><br>

------=_Part_9867_29109577.1225419789796--