Line
Link Here
|
0 |
-- src/filehandling_functions.c |
0 |
++ src/filehandling_functions.c |
Lines 41-54
Link Here
|
41 |
* you dump the file through `gunzip -d -c', etc. * |
41 |
* you dump the file through `gunzip -d -c', etc. * |
42 |
******************************************************************************/ |
42 |
******************************************************************************/ |
43 |
|
43 |
|
44 |
#define SuffixesNumber 4 |
44 |
#define SuffixesNumber 6 |
45 |
|
45 |
|
46 |
Suffixes suffixes[SuffixesNumber] = |
46 |
Suffixes suffixes[SuffixesNumber] = |
47 |
{ |
47 |
{ |
48 |
{"", "cat"}, |
48 |
{"", "cat"}, |
49 |
{".gz", "gzip -d -q -c"}, |
49 |
{".gz", "gzip -d -q -c"}, |
50 |
{".Z", "gzip -d -q -c"}, |
50 |
{".Z", "gzip -d -q -c"}, |
51 |
{".bz2", "bzip2 -d -c"} |
51 |
{".bz2", "bzip2 -d -c"}, |
|
|
52 |
{".lzma", "lzma -d -c"}, |
53 |
{".xz", "xz -d -c"} |
52 |
}; |
54 |
}; |
53 |
|
55 |
|
54 |
/*****************************************************************************/ |
56 |
/*****************************************************************************/ |