Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
mc
mc-word_docs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mc-word_docs.patch of Package mc
--- lib/mc.ext.in +++ lib/mc.ext.in @@ -452,12 +452,17 @@ Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null # Microsoft Word Document -regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$ +type/^Microsoft\ Office\ Document Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null - View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f + View=%view{ascii} wvText %f - || strings %f + type/^Microsoft\ Word Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null - View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f + View=%view{ascii} wvText %f - || strings %f + +regex/\.([Dd]ot|DOT|[Ww]ri|WRI)$ + Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (OOo %f >/dev/null 2>&1 &); fi >/dev/null + View=%view{ascii} wvText %f - || strings %f # RTF document regex/\.([rR][tT][fF])$
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor