lib/mc.ext.in: command line options fix by adamw (#183)

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
This commit is contained in:
Mikhail S. Pobolovets 2009-02-24 10:46:33 +02:00
parent e2f1b4991e
commit 5fd1537717
2 changed files with 25 additions and 6 deletions

View File

@ -46,6 +46,10 @@
* mhl/types.h, mhl/escape.h: replaced bool type by stdbool.h (fixing #239, #240) * mhl/types.h, mhl/escape.h: replaced bool type by stdbool.h (fixing #239, #240)
* lib/mc.sh.in: fixes for non-bash shells (fixing #196) * lib/mc.sh.in: fixes for non-bash shells (fixing #196)
2009-02-03 Enrico Weigelt, metux ITS <weigelt@metux.de>
* lib/mc.ext.in: command line options fix by adamw (#183)
2009-02-03 Enrico Weigelt, metux ITS <weigelt@metux.de> 2009-02-03 Enrico Weigelt, metux ITS <weigelt@metux.de>
* lib/mc.lib: added patch on #219 by angel_il * lib/mc.lib: added patch on #219 by angel_il

View File

@ -167,23 +167,32 @@ regex/\.(alz|ALZ)$
# cpio # cpio
shell/.cpio.Z shell/.cpio.Z
Open=%cd %p#ucpio Open=%cd %p#ucpio
View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null View=%view{ascii} gzip -dc %f | cpio -itv 2>/dev/null
shell/.cpio.gz shell/.cpio.gz
Open=%cd %p#ucpio Open=%cd %p#ucpio
View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null View=%view{ascii} gzip -dc %f | cpio -itv 2>/dev/null
shell/.cpio shell/.cpio
Open=%cd %p#ucpio Open=%cd %p#ucpio
View=%view{ascii} cpio -itv <'%f' 2>/dev/null View=%view{ascii} cpio -itv < %f 2>/dev/null
# ls-lR # ls-lR
regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$ regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
Open=%cd %p#lslR Open=%cd %p#lslR
# patch # patch
regex/\.(diff|patch)(\.(bz2|gz|Z))?$ regex/\.(diff|patch)(\.bz2)$
Open=%cd %p#patchfs Open=%cd %p#patchfs
View=%view{ascii} bzip2 -dc %f 2>/dev/null
regex/\.(diff|patch)(\.(gz|Z))$
Open=%cd %p#patchfs
View=%view{ascii} gzip -dc %f 2>/dev/null
regex/\.(diff|patch)$
Open=%cd %p#patchfs
View=%view{ascii} /bin/cat %f 2>/dev/null
# ar library # ar library
regex/\.s?a$ regex/\.s?a$
@ -558,11 +567,17 @@ type/^gzip
Open=gzip -dc %f | %var{PAGER:more} Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null View=%view{ascii} gzip -dc %f 2>/dev/null
regex/\.(gz|Z)?$
View=%view{ascii} gzip -dc %f 2>/dev/null
# bzip2 # bzip2
type/^bzip2 type/^bzip2
Open=bzip2 -dc %f | %var{PAGER:more} Open=bzip2 -dc %f | %var{PAGER:more}
View=%view{ascii} bzip2 -dc %f 2>/dev/null View=%view{ascii} bzip2 -dc %f 2>/dev/null
regex/\.bz2?$
View=%view{ascii} bzip2 -dc %f 2>/dev/null
# bzip # bzip
type/^bzip type/^bzip
Open=bzip -dc %f | %var{PAGER:more} Open=bzip -dc %f | %var{PAGER:more}