You are not logged in.
I took this script from slack, it allows you to view {gzip,bzip2}ed, tar.*, zip files directly from less.
get it from http://www.kegep.tuc.gr/~manolis/archlinux/lesspipe.sh
save it in /usr/bin (or somewhere else in your $PATH), 'chmod +x' it & add the following line in /etc/profile :
export LESSOPEN="|lesspipe.sh %s"
source /etc/profile or log{out,in} & enjoy.
It's a nice addition for future versions of less pkg, IMHO.
Offline
I was just wondering why it isn't included by derfaultin arch. AFAIK the
"lesspipe.sh" script is pretty standard, so I was surprised not to find it in arch.
Offline
The file is returning a 404, so I don't know what all it does, but I do know this. zcat. bzcat. it's really not that hard to do this kinda stuff without a script holding your hand.
Offline
This has been posted about before.
Offline
>The file is returning a 404, so I don't know what all it does, but I do know
>this. zcat. bzcat. it's really not that hard to do this kinda stuff without a
>script holding your hand.
of course it's not hard, but the script is handy !!!!
just one command to view all .bz .zip .tar .... files - no need to remember what option to give to tar to get a listing of the files an archive contais...
Offline
This has been posted about before.
Actually, technically this is the first thread about it, since it was started in 2003. 8)
Offline