source: trunk/athena/bin/install/install.1 @ 9436

Revision 9436, 2.8 KB checked in by ghudson, 28 years ago (diff)
Add a man page based on BSD 4.3 Tahoe.
Line 
1.\" $Id: install.1,v 1.1 1996-12-16 08:28:08 ghudson Exp $
2.\"
3.\" Copyright (c) 1987 Regents of the University of California.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms are permitted
7.\" provided that the above copyright notice and this paragraph are
8.\" duplicated in all such forms and that any documentation,
9.\" advertising materials, and other materials related to such
10.\" distribution and use acknowledge that the software was developed
11.\" by the University of California, Berkeley.  The name of the
12.\" University may not be used to endorse or promote products derived
13.\" from this software without specific prior written permission.
14.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17.\"
18.\" Copyright 1996 by the Massachusetts Institute of Technology.
19.\"
20.\" Permission to use, copy, modify, and distribute this
21.\" software and its documentation for any purpose and without
22.\" fee is hereby granted, provided that the above copyright
23.\" notice appear in all copies and that both that copyright
24.\" notice and this permission notice appear in supporting
25.\" documentation, and that the name of M.I.T. not be used in
26.\" advertising or publicity pertaining to distribution of the
27.\" software without specific, written prior permission.
28.\" M.I.T. makes no representations about the suitability of
29.\" this software for any purpose.  It is provided "as is"
30.\" without express or implied warranty.
31.\"
32.TH INSTALL 1 "December 4, 1996"
33.UC 5
34.SH NAME
35install \- install binaries
36.SH SYNOPSIS
37.B install
38[
39.B \-c|\-d
40] [
41.B \-m
42mode ] [
43.B \-o
44owner ] [
45.B \-g
46group ] [
47.B \-s
48] file1 file2; or file1 ... fileN directory
49.SH DESCRIPTION
50The file(s) are copied (or moved if the \fB-d\fP option is specified)
51to the target file or directory.  If the destination is a directory, then
52the \fIfile\fP is moved into \fIdirectory\fP with its original file-name.
53If the target file already exists, it is replaced.
54.PP
55The \fB-c\fP option is present for compatibility only; it has no
56effect.  However, you may not specify both \fB-c\fP and \fB-d\fP at
57the same time.
58.PP
59The mode is set to 755; the \fB-m\fP option may be used to specify
60an alternate mode.
61.PP
62The \fB-o\fP and \fB-g\fP options may be used to specify an owner
63and/or group, respectively.
64.PP
65The \fB-s\fP option causes the file to be stripped.  If the file
66cannot be stripped, it will still be installed.
67.PP
68\fIInstall\fP refuses to move a file onto itself.
69.PP
70Installing ``/dev/null'' creates an empty file.
71.SH "RETURN VALUE"
72Upon successful completion a value of 0 is returned.  Otherwise, a
73value of 1 is returned.
74.SH "SEE ALSO"
75chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)
Note: See TracBrowser for help on using the repository browser.