1 .\" $NetBSD: gzexe.1,v 1.2 2003/12/28 12:43:43 wiz Exp $
2 .\" $OpenBSD: gzexe.1,v 1.5 2007/05/31 19:20:08 jmc Exp $
3 .\" $DragonFly: src/usr.bin/gzip/gzexe.1,v 1.2 2007/07/29 17:27:45 swildner Exp $
5 .\" Copyright (c) 2003 Otto Moerbeek <otto@drijf.net>
7 .\" Permission to use, copy, modify, and distribute this software for any
8 .\" purpose with or without fee is hereby granted, provided that the above
9 .\" copyright notice and this permission notice appear in all copies.
11 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24 .Nd create auto-decompressing executables
34 to compress executables, producing executables that decompress on-the-fly
36 This saves disk space, at the cost of slower execution times.
37 The original executables are saved by copying each of them to a file with
41 After verifying that the compressed executables work as expected, the backup
44 The options are as follows:
47 Decompress executables previously compressed by
53 program refuses to compress non-regular or non-executable files,
54 files with a setuid or setgid bit set, files that are already
57 files in /bin or /sbin,
58 or programs it needs to perform on-the-fly decompression:
73 utility replaces files by overwriting them with the generated
74 compressed executable.
75 To be able to do this, it is required that the original files are writable.