mc.ext: man: fixed cat as fallback for zsoelim

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
This commit is contained in:
Sergei Trofimovich 2009-04-17 21:16:17 +03:00
parent b20cd38d0d
commit 8f181d9e42
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@ regex/\.(so|so\.[0-9\.]*)$
View=%view{ascii} file %f && nm %f
regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
Open=case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f || cat %f } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac | %var{PAGER:more}
View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f || cat %f } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac
Open=case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac | %var{PAGER:more}
View=%view{ascii,nroff} case %d/%f in */log/*|*/logs/*) cat %f ;; *) { zsoelim %f 2>/dev/null || cat %f; } | nroff @MAN_FLAGS@ @MANDOC@ ;; esac
# Perl pod page
shell/.pod