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 ?
Date: Thu, 30 Oct 2008 19:23:09 -0700 [thread overview]
Message-ID: <350fc7cf0810301923g52f8a677s4e9f8ed9c11fed80@mail.gmail.com> (raw)
In-Reply-To: <20081031004026.GB9216@crowfix.com>
[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]
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
>
>
[-- Attachment #2: Type: text/html, Size: 1718 bytes --]
next prev parent reply other threads:[~2008-10-31 2:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 13:43 [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ? Ashish Shukla आशीष शुक्ल
2008-10-30 14:01 ` Albert Hopkins
2008-10-30 14:02 ` Daniel Pielmeier
2008-10-30 22:24 ` Ashish Shukla आशीष शुक्ल
2008-10-30 22:55 ` Albert Hopkins
2008-10-30 23:39 ` Eric Martin
2008-10-31 0:12 ` Neil Bothwick
2008-10-31 0:38 ` felix
2008-10-31 5:49 ` Paul Hartman
2008-10-31 10:24 ` Neil Bothwick
2008-10-30 23:51 ` Ashish Shukla आशीष शुक्ल
2008-10-30 22:50 ` Iain Buchanan
2008-10-30 23:48 ` Ashish Shukla आशीष शुक्ल
2008-10-31 2:50 ` Iain Buchanan
2008-10-31 0:40 ` felix
2008-10-31 2:23 ` Andrey Falko [this message]
2008-10-31 5:42 ` felix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=350fc7cf0810301923g52f8a677s4e9f8ed9c11fed80@mail.gmail.com \
--to=ma3oxuct@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox