You are not logged in.

#1 2009-11-11 19:13:24

kasbah
Member
Registered: 2009-08-13
Posts: 30

lesspipe rar garbage output

I installed lesspipe as recommended on the post installation tips and it works fine unless I try to look at a rar file which gives me loads of garbage output along with the filenames.

The garbage seems to be related to the content of the files in the archive.

test.rarcontains one file called "file" which simple contains the text "this is a file".

less test.rar

gives

==> append : to filename to view the  RAR archive data, v1d, os: Unix source
Rar!
file
uoia
%\7 
test.rar (END)

test2.rar contains an image file "yellow_eyes.png"

 less test2.rar

gives

==> append : to filename to view the  RAR archive data, v1d, os: Unix source
Rar!
6nt`
yellow_eyes.png
@E4"
Z((O
=M,[<`
"&tK[tIpnnhot
Ishdthg+vjti+M
q[`T
gM(L
GxC~
rlzP
"=89s-=
R?gf
b|w>
]v-s
mtF]Q
ORU7
P2+io
QpeA
.4:[
x[J]
I0iL
O6w:oQvo+
ES*&G
[Y7M
'37/-{
^=-     w
k       x/
&@Ae0O
'JK)~
&GL{
]?Z=
k[P={
        fG<B
?[ @
5X=`
Tm\N
IX1T
04},
U6Pv
-=Jp
+j4s
#gOo$a
!2Bp
wm2u
YNx2t:
60a@!
@(zY
?W[V
>VjcX
H/8."
J$ko
^3B}
\q"R
s<~I
qY.w
39z*oc
Duf4 
oJ/P
Cw!J
J68`K
^%97<
"C#P
.w1?a
w}      (
W'r?
F-Y<
        6/*
L'oj&%
1/Yo/
;N@i
Rp$rQ
C|+^
40Ie
7T4`
"'k]
N!77
aM@*
v+b9
nD=L
).4%
8<+X
fe_X
]5#t/
D&Po
O]2B
OWyD
JgD!t'
u:]9\
^5vt
}(;TZl
:4).
$0N!H
 a:Xt
wI5BPfP(UzU
)3hG
r6<e
REsET4
ur-"
(.qd
EF=Z
Q]oJ
)E`i}
U"L1
B6I<
4o!Gp
sph5
Jr\8
9$)-Y!
_#_[
M7J<
Kw3+
vW3 
9Y){
;W(9
4W}Y8`W"
T@;/?[
~i}|
:cr*
;>/(U
gTjAwF9?
~;WG
hqy}1
4BOb
_c<b
xe8m'
d%*k
'Kj~
Gq"&
...skipping...
[TLi
UuHdK
x>945
U-60
GQZ4\
FYs&Ti)
p0YS
mg8&d
f7D)
<tTT3
?"J)
?{$^ZtK
13      !T
{%{%
[nka
~"ZQ)S
0#/>\
k.m 
@HaZcrc
0NR.
FSq5
qgX[
;|(f
lP#<
=)&Fc
Fb5;
[,))d
+ pts
%2(f
Je0UI
djwo
6%xsn
=Xt#
6=%Y
z^Mv5
O0 }
G(9|
V,/uZk.X
P4HHv
=L      \
NTfhG
J6tlY
#9D[*
G_!S,
K?1!
zMZI
Iy T(
lT"{
4}\t
rR>I
(END)

Offline

#2 2009-11-16 00:48:36

lamegaptop
Member
From: Orlando
Registered: 2009-05-10
Posts: 33

Re: lesspipe rar garbage output

less doesn't work on archives, nor would less help you with a *.png file, even if it were extracted from the archive.

Have a peek at

man less

and have a look here about rar files -

http://wiki.archlinux.org/index.php/RAR


Don't break the silence unless you can improve upon it.

Offline

#3 2009-11-16 01:34:54

kasbah
Member
Registered: 2009-08-13
Posts: 30

Re: lesspipe rar garbage output

Thanks for trying to help lamegatop but i have installed lesspipe which allows me to peek inside archives.

lesspipe homepage

It is in the arch repositories if you want to try it.

Offline

Board footer

Powered by FluxBB