Skip to content

Commit

Permalink
lib/mc.ext.in: command line options fix by adamw (MidnightCommander#183)
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail S. Pobolovets <[email protected]>
  • Loading branch information
styx committed Feb 24, 2009
1 parent e2f1b49 commit 5fd1537
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
* 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)

2009-02-03 Enrico Weigelt, metux ITS <[email protected]>

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

2009-02-03 Enrico Weigelt, metux ITS <[email protected]>

* lib/mc.lib: added patch on #219 by angel_il
Expand Down
27 changes: 21 additions & 6 deletions lib/mc.ext.in
Original file line number Diff line number Diff line change
Expand Up @@ -167,23 +167,32 @@ regex/\.(alz|ALZ)$
# cpio
shell/.cpio.Z
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
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
Open=%cd %p#ucpio
View=%view{ascii} cpio -itv <'%f' 2>/dev/null
View=%view{ascii} cpio -itv < %f 2>/dev/null

# ls-lR
regex/(^|\.)ls-?lR(\.g?z|Z|bz2)?$
regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
Open=%cd %p#lslR

# patch
regex/\.(diff|patch)(\.(bz2|gz|Z))?$
Open=%cd %p#patchfs
regex/\.(diff|patch)(\.bz2)$
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
regex/\.s?a$
Expand Down Expand Up @@ -558,11 +567,17 @@ type/^gzip
Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null

regex/\.(gz|Z)?$
View=%view{ascii} gzip -dc %f 2>/dev/null

# bzip2
type/^bzip2
Open=bzip2 -dc %f | %var{PAGER:more}
View=%view{ascii} bzip2 -dc %f 2>/dev/null

regex/\.bz2?$
View=%view{ascii} bzip2 -dc %f 2>/dev/null

# bzip
type/^bzip
Open=bzip -dc %f | %var{PAGER:more}
Expand Down

0 comments on commit 5fd1537

Please sign in to comment.