lesspipe.sh package for Debian/Ubuntu

As a long time Gentoo users, I've gotten used to 'less' being able to pretty print HTML files or let me view gzipped files without the need to do

$ zcat text.gz | less

Well, when I started using Kubuntu recently, I found that only the vanilla version of less is installed by default. There is a basic lesspipe program that exists, but it's not as feature rich as the lesspipe.sh script that Gentoo uses.

After doing a little digging, I found that there's no .deb package available for the lesspipe script, so I made one myself. I created the lesspipe script as per the installation instructions, except that I used the "--yes" option when building it. The "yes" option basically assumes that all the helper programs like "unrtf" are installed on your system. Of course, since it handles so many file formats, I didn't bother checking for them all. If you decide to try out my deb package and you have a problem, drop me a line.

AttachmentSize
lesspipe_1.53-1_i386.deb60.99 KB

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options