viewing contents of tar/tar.gz/tgz files
volvoguy
volvoguy at gmail.com
Mon Oct 18 08:43:16 UTC 2004
On Mon, 18 Oct 2004 16:19:30 +0800, John <dingo at coco2.arach.net.au> wrote:
> Nope.
> less can do all sorts of magic that the U folk might want to implement
> much as Red Hat did years ago.
>
> Automatically recognise and decompress compressed files. Automatically
> recognise tarballs and list their contents.
>
> read up on lessopen.
Yay! I'm not going crazy! After reading up on lessopen, I found the
attached script on my Slackware box. I'm hoping I can just drop this
in Ubuntu and it'll work, but I've never had to set any special
environment variables before, so I'll need some help with that. (the
exact variable to set is in the attached script).
I know it's WAY too late to add anything to Warty, but I'd love to see
this functionality in a future Ubuntu by default! (maybe someone
already set up with a bugzilla account could add a request?)
Thanks!
Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lesspipe.sh
Type: application/x-shellscript
Size: 2826 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041018/e930cf4c/attachment.bin>
More information about the ubuntu-users
mailing list