Skip to Content.
Sympa Menu

baslinux - Re: [BL] abiword update?

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] abiword update?
  • Date: Thu, 17 Feb 2005 23:56:45 +0000 (UTC)

On Thu, 17 Feb 2005, David Moberg wrote:

----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>

I read MANIFEST.gz with zless. Is there some similar way to read a
.bz2 file? I suppose you could bunzip2 then gzip the result to get
a .gz again.

bunzip2 -c MANIFEST.bz2 | less

would work. You could probably put

#!/bin/sh
bunzip2 -c "$@" | less


This uncompresses the file.bz2 to the screen and then pipes it to less. I just figured out that BL3 zless is a little script that uses zcat which is actually busybox gzip to do something similar, plus less. Clever.


in /usr/bin/bzless (or something like that) if you don't want to type
that in all the time. Some packages of less probably come with the
bzless script.

I see that bunzip2 is part of busybox - is it lacking any features
that we would notice?

There's no bzip2, so you can only read bz2 files. The busybox bunzip2
should uncompress every ordinary bz2, though.

David
--

Thanks for the education.
Sindi




Archive powered by MHonArc 2.6.24.

Top of Page