|
Bugzilla – Full Text Bug Listing |
| Summary: | less does not recognize .cab files | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Petr Mladek <pmladek> |
| Component: | Basesystem | Assignee: | Michal Marek <mmarek> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I've changed it to
*Microsoft\ Cabinet\ *\ data*)
so that it works with both versions of the file(1) command.
|
If the variable LESS_ADVANCED_PREPROCESSOR="yes", the utility "less" should list files in .cab archives. It does not work on SL 10.0 because the utility "file" returns another description for such files now. /usr/bin/file prints: --- cut --- $> file sample.cab sample.cab: Microsoft Cabinet archive data, 108346 bytes, 144 files --- cut --- /usr/bin/lessopen.sh searches for: --- cut --- *Microsoft\ cabinet\ file\ data*) --- cut --- How to reproduce it? 1. export LESS_ADVANCED_PREPROCESSOR="yes" 2. less sample.cab It should list the files in the sample.cab archive but it shows the binary content now.