* lib/mc.ext.in: Use gzip instead of gunzip and compress. Avoid

unnecessary pipeline.  Redirect stderr from cpio, because it can
be non-empty even for successful operations.
This commit is contained in:
Pavel Roskin 2002-08-27 05:59:06 +00:00
parent 9514de4ed7
commit 27b3644329
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-08-27 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: Use gzip instead of gunzip and compress. Avoid
unnecessary pipeline. Redirect stderr from cpio, because it can
be non-empty even for successful operations.
2002-08-26 Pavel Roskin <proski@gnu.org>
* syntax/spec.syntax: New file.

View File

@ -416,22 +416,22 @@ regex/\.[rR]([aA][rR]|[0-9][0-9])$
# cpio
shell/.cpio.Z
Open=%cd %p#ucpio
View=%view{ascii} compress -dc '%f' | cpio -ictv
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 -ictv
View=%view{ascii} gzip -dc '%f' | cpio -itv 2>/dev/null
shell/.cpio
Open=%cd %p#ucpio
View=%view{ascii} cat '%f' | cpio -ictv
View=%view{ascii} cpio -itv <'%f' 2>/dev/null
# ls-lR
regex/(^|\.)ls-?lR$
Open=%cd %p#lslR
regex/(^|\.)ls-?lR\.(g?z|Z)$
Open=%cd %p#lslR
View=%view{ascii} gunzip -c %f
View=%view{ascii} gzip -dc %f
# ftplist
regex/\.ftplist$