From 7ad845bdd71805a27c08258f21d4b9727f86d374 Mon Sep 17 00:00:00 2001 From: "Mikhail S. Pobolovets" Date: Tue, 24 Feb 2009 10:46:33 +0200 Subject: [PATCH] lib/mc.ext.in: command line options fix by adamw (#183) Signed-off-by: Mikhail S. Pobolovets --- ChangeLog | 5 +++++ lib/mc.ext.in | 27 +++++++++++++++++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 09736fc69..381fa7115 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ + 2009-02-17 Mikhail Pobolovets * lt.po: update by stikonas (#274) @@ -14,6 +15,10 @@ * mhl/types.h, mhl/escape.h: replaced bool type by stdbool.h (fixing #240) +2009-02-03 Enrico Weigelt, metux ITS + + * lib/mc.ext.in: command line options fix by adamw (#183) + 2009-02-03 Enrico Weigelt, metux ITS * lib/mc.lib: added patch on #219 by angel_il diff --git a/lib/mc.ext.in b/lib/mc.ext.in index 1f86157c8..9bcd82868 100644 --- a/lib/mc.ext.in +++ b/lib/mc.ext.in @@ -162,23 +162,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$ @@ -530,11 +539,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}