| 1 | .TH z 1 "18 February 1999" "Edgeware tools" |
| 2 | .SH NAME |
| 3 | z \- run shell commands on compressed files |
| 4 | .SH SYNOPSIS |
| 5 | .B z |
| 6 | .I command |
| 7 | .RI [ arguments ...] |
| 8 | .SH DESCRIPTION |
| 9 | The |
| 10 | .B z |
| 11 | script examines the shell command passed to it for filenames which look |
| 12 | as if they're compressed files. For each one that it finds, it |
| 13 | decompresses the file into a temporary place, and replaces the |
| 14 | compressed file's name in the command line with the name of the |
| 15 | decompressed version. When the command terminates, |
| 16 | .B z |
| 17 | deletes the decompressed files and exits. |
| 18 | .SH BUGS |
| 19 | The |
| 20 | .B z |
| 21 | program is a very simple |
| 22 | .B bash |
| 23 | shell script. As a result there are a number of limitations: |
| 24 | .PP |
| 25 | Changes made to the temporary decompressed files are ignored: the |
| 26 | original is left unchanged. |
| 27 | .PP |
| 28 | Nonexistent files cause errors to be reported. |
| 29 | .PP |
| 30 | The decompressed versions of files are always created with default |
| 31 | owner, group and permissions (as set by the current euid, egid and umask |
| 32 | settings). |
| 33 | .PP |
| 34 | It doesn't leave file extensions on the decompressed files. |
| 35 | .SH AUTHOR |
| 36 | Mark Wooding <mdw@distorted.org.uk> |