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 |
---|
35 | install \- install binaries |
---|
36 | .SH SYNOPSIS |
---|
37 | .B install |
---|
38 | [ |
---|
39 | .B \-c|\-d |
---|
40 | ] [ |
---|
41 | .B \-m |
---|
42 | mode ] [ |
---|
43 | .B \-o |
---|
44 | owner ] [ |
---|
45 | .B \-g |
---|
46 | group ] [ |
---|
47 | .B \-s |
---|
48 | ] file1 file2; or file1 ... fileN directory |
---|
49 | .SH DESCRIPTION |
---|
50 | The file(s) are copied (or moved if the \fB-d\fP option is specified) |
---|
51 | to the target file or directory. If the destination is a directory, then |
---|
52 | the \fIfile\fP is moved into \fIdirectory\fP with its original file-name. |
---|
53 | If the target file already exists, it is replaced. |
---|
54 | .PP |
---|
55 | The \fB-c\fP option is present for compatibility only; it has no |
---|
56 | effect. However, you may not specify both \fB-c\fP and \fB-d\fP at |
---|
57 | the same time. |
---|
58 | .PP |
---|
59 | The mode is set to 755; the \fB-m\fP option may be used to specify |
---|
60 | an alternate mode. |
---|
61 | .PP |
---|
62 | The \fB-o\fP and \fB-g\fP options may be used to specify an owner |
---|
63 | and/or group, respectively. |
---|
64 | .PP |
---|
65 | The \fB-s\fP option causes the file to be stripped. If the file |
---|
66 | cannot be stripped, it will still be installed. |
---|
67 | .PP |
---|
68 | \fIInstall\fP refuses to move a file onto itself. |
---|
69 | .PP |
---|
70 | Installing ``/dev/null'' creates an empty file. |
---|
71 | .SH "RETURN VALUE" |
---|
72 | Upon successful completion a value of 0 is returned. Otherwise, a |
---|
73 | value of 1 is returned. |
---|
74 | .SH "SEE ALSO" |
---|
75 | chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8) |
---|