manual page first distributed with 4.2BSD
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 30 Apr 1985 12:10:40 +0000 (04:10 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 30 Apr 1985 12:10:40 +0000 (04:10 -0800)
SCCS-vsn: usr.bin/xinstall/install.1 5.1

usr/src/usr.bin/xinstall/install.1 [new file with mode: 0644]

diff --git a/usr/src/usr.bin/xinstall/install.1 b/usr/src/usr.bin/xinstall/install.1
new file mode 100644 (file)
index 0000000..0bdbb10
--- /dev/null
@@ -0,0 +1,68 @@
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)install.1   5.1 (Berkeley) %G%
+.\"
+.TH INSTALL 1 "22 April 1983"
+.UC 5
+.SH NAME
+install \- install binaries
+.SH SYNOPSIS
+.B install
+[
+.B \-c
+] [
+.B \-m
+mode ] [
+.B \-o
+owner ] [
+.B \-g
+group ] [
+.B \-s
+] binary destination
+.SH DESCRIPTION
+.I Binary
+is moved (or copied if 
+.B \-c
+is specified) to
+.IR destination .
+If
+.I destination
+already exists,
+it is removed before
+.I binary
+is moved.
+If the destination is a directory then
+.I binary
+is moved into the
+.I destination
+directory with its original file-name.
+.PP
+The mode for
+.I Destination
+is set to 755; the
+.B \-m
+.I mode
+option may be used to specify a different mode.
+.PP
+.I Destination
+is changed to owner root; the
+.B \-o
+.I owner
+option may be used to specify a different owner.
+.PP
+.I Destination
+is changed to group staff; the
+.B \-g
+.I group
+option may be used to specify a different group.
+.PP
+If the
+.B \-s
+option is specified the binary is stripped after being installed.
+.PP
+.I Install
+refuses to move a file onto itself.
+.SH "SEE ALSO"
+chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)