forked from wofr06/lesspipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTESTCMDS
49 lines (49 loc) · 2.49 KB
/
TESTCMDS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# view a file with spaces in the name
less testok/a\ b
less testok/symlink
# view the file testok/a\ b.gz contained in the gzipped tar archive
less testok/a\ b.tgz:testok/a\ text.gz
# view testok/a\<b in testok/a\<b.zip which is also in the tar archive
less testok/a\ b.tgz:testok/a\<b.zip:testok/a\<b
less testok/a\ b.tgz:testok/a\>b.bz2
# the same, try to switch on syntax highlighting (.ada)
less -r testok/a\ b.tgz:testok/a\ text.gz:.ada
# view the gzipped file testok/a::b::c::d.gz assuming it is an ada file
less -r testok/a\ b.tgz:testok/a::b::c::d.gz:ada
less testok/a\ b.tgz:testok/a\`data.gz
less testok/a\ b.tgz:testok/a=ar.gz:a=b
less testok/a\ b.tgz:testok/a\'html.gz #needs html2text elinks links lynx w3m
less testok/a\ b.tgz:testok/a\"doc.gz #needs antiword catdoc
less testok/a\#rtf #needs unrtf
less testok/a\ b.tgz:testok/a\&pdf.gz #needs pdftohtml pdftotext
less testok/a\ b.tgz:testok/a\;dvi.gz #needs dvi2tty
less testok/a\ b.tgz:testok/a\(ps.gz #needs pstotext ps2ascii
less testok/a\ b.tgz:testok/a\)nroff.gz
less -f testok/perlstorable.gz #needs perlpackage Data::Dumper
less testok/iso.image:/ISO.TXT\;1 #needs isoinfo
less testok/test.rpm:test.txt #needs rpm2cpio
less testok/cabinet.cab:a\ text.gz #needs cabextract
less testok/test.deb:./test.txt
less testok/test2.deb:./test.txt
less testok/test3.deb:./test.txt
less testok/a\ b.tgz:testok/a\~b.odt #needs sxw2txt o3tohtml
less testok/a\|b.7za:testok/a\|b.txt #needs 7za 7zr
less -f testok/onefile.7za #needs 7za 7zr
less testok/a\ b.tgz:testok/onefile.7za #needs 7za 7zr
less testok/a\ b.tgz:testok/a\|b.7za:testok/a\|b.txt #needs 7za 7zr
less testok/test.rar:testok/a\ b #needs unrar rar
less -f testok/test.utf16 #needs iconv
less -f testok/test.mp3 #needs id3v2 mp3info mp3info2
less -f testok/id3v2.mp3 #needs id3v2 mp3info mp3info2
less -f testok/a\?b.gz
less -f testok/a\[b.gz
less -f testok/a\]b.gz
# the lzip format became less popular, not testing it any longer
#less testok/azip.tlz:a\$b.lz #needs lzip
#less -f testok/a\\b.lz #needs lzip
less testok/a\ test
less testok/a:test
less testok/test.zst
less testok/test.zst.tzst
less testok/test.zst.tzst:test.zst
less testok/test.tar.zst