From owner-freebsd-hackers Tue Apr 4 11:28:09 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA18937 for hackers-outgoing; Tue, 4 Apr 1995 11:28:09 -0700 Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.97.216]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA18931 for ; Tue, 4 Apr 1995 11:28:07 -0700 Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.6.11/8.6.9) id LAA05111 for freebsd-hackers@freefall.cdrom.com; Tue, 4 Apr 1995 11:27:08 -0700 From: Steven G Kargl Message-Id: <199504041827.LAA05111@troutmask.apl.washington.edu> Subject: new install(1) utility To: freebsd-hackers@freefall.cdrom.com (FreeBSD) Date: Tue, 4 Apr 1995 11:27:07 -0700 (PDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1195 Sender: hackers-owner@FreeBSD.org Precedence: bulk I've rewritten install(1) to include the following options: (1) -S -- Symlink are created instead of moving (copying) the file. (2) -t -- Preserve the timestamp of the source file on target file. (3) -z -- Compress the file with gzip and retain the `.gz' extension. (4) -Z -- Compress the file with gzip and remove the extention. The symlink feature may be useful for creating symlinks, for example, from /usr/share/man to point into the source tree. The timestamp feature may be useful in keeping things (such as includes) in sync. (3) allows `install -z -o bin -g bin -m 644 znew.1 /usr/share/man/man1' which generated /usr/share/man/man1/znew.1.gz (4) allows people with disk-space-impaired systems to install compressed binaries. If you do this, you need to know the RAMifications. I also updated the error handling of the previous install. All previous options are supported. If there is any interest in this work, I'll put the source up for FTP. -- Steven G. Kargl | Phone: 206-685-4677 | Applied Physics Lab | Fax: 206-543-6785 | Univ. of Washington |---------------------| 1013 NE 40th St | FreeBSD 2.1-current | Seattle, WA 98105 |---------------------|