=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/xinstall/install.1,v retrieving revision 1.19 retrieving revision 1.20 diff -c -r1.19 -r1.20 *** src/usr.bin/xinstall/install.1 2003/06/10 09:12:13 1.19 --- src/usr.bin/xinstall/install.1 2004/02/06 22:21:10 1.20 *************** *** 1,4 **** ! .\" $OpenBSD: install.1,v 1.19 2003/06/10 09:12:13 jmc Exp $ .\" $NetBSD: install.1,v 1.4 1994/11/14 04:57:17 jtc Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 --- 1,4 ---- ! .\" $OpenBSD: install.1,v 1.20 2004/02/06 22:21:10 jmc Exp $ .\" $NetBSD: install.1,v 1.4 1994/11/14 04:57:17 jtc Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 *************** *** 52,67 **** .Op Fl g Ar group .Op Fl m Ar mode .Op Fl o Ar owner ! .Ar file1 ! \&... .Ar fileN directory .Nm install .Fl d .Op Fl g Ar group .Op Fl m Ar mode .Op Fl o Ar owner ! .Ar directory ! \&... .Sh DESCRIPTION The file(s) are moved (or copied if the .Fl c --- 52,65 ---- .Op Fl g Ar group .Op Fl m Ar mode .Op Fl o Ar owner ! .Ar file1 ... .Ar fileN directory .Nm install .Fl d .Op Fl g Ar group .Op Fl m Ar mode .Op Fl o Ar owner ! .Ar directory ... .Sh DESCRIPTION The file(s) are moved (or copied if the .Fl c *************** *** 78,89 **** .Fl b option is given or overwritten ! if permissions allow, An alternate backup suffix may be specified via the .Fl B option's argument. .Pp The options are as follows: ! .Bl -tag -width Ds .It Fl b Backup any existing files before overwriting them by renaming them to --- 76,94 ---- .Fl b option is given or overwritten ! if permissions allow. ! An alternate backup suffix may be specified via the .Fl B option's argument. .Pp The options are as follows: ! .Bl -tag -width "-B suffix" ! .It Fl B Ar suffix ! Use ! .Ar suffix ! as the backup suffix if ! .Fl b ! is given. .It Fl b Backup any existing files before overwriting them by renaming them to *************** *** 91,102 **** See .Fl B for specifying a different backup suffix. - .It Fl B Ar suffix - Use - .Ar suffix - as the backup suffix if - .Fl b - is given. .It Fl C Copy the file. If the target file already exists and the files are the same, --- 96,101 ---- *************** *** 110,131 **** .It Fl d Create directories. Missing parent directories are created as required. ! .It Fl f ! Specify the target's file flags. (See .Xr chflags 1 for a list of possible flags and their meanings.) ! .It Fl g ! Specify a group. A numeric GID is allowed. ! .It Fl m ! Specify an alternate mode. The default mode is set to rwxr-xr-x (0755). The specified mode may be either an octal or symbolic value; see .Xr chmod 1 for a description of possible mode values. ! .It Fl o ! Specify an owner. A numeric UID is allowed. .It Fl p Preserve the modification time. --- 109,134 ---- .It Fl d Create directories. Missing parent directories are created as required. ! .It Fl f Ar flags ! Specify the target's file ! .Ar flags . (See .Xr chflags 1 for a list of possible flags and their meanings.) ! .It Fl g Ar group ! Specify a ! .Ar group . A numeric GID is allowed. ! .It Fl m Ar mode ! Specify an alternate ! .Ar mode . The default mode is set to rwxr-xr-x (0755). The specified mode may be either an octal or symbolic value; see .Xr chmod 1 for a description of possible mode values. ! .It Fl o Ar owner ! Specify an ! .Ar owner . A numeric UID is allowed. .It Fl p Preserve the modification time. *************** *** 171,177 **** creates an empty file. .Pp Upon successful completion a value of 0 is returned. ! Otherwise, a value >0 is returned. .Sh ENVIRONMENT .Bl -tag -width "STRIP" .It Ev STRIP --- 174,180 ---- creates an empty file. .Pp Upon successful completion a value of 0 is returned. ! Otherwise, a value \*(Gt0 is returned. .Sh ENVIRONMENT .Bl -tag -width "STRIP" .It Ev STRIP *************** *** 182,189 **** .Pa /usr/bin/strip . .El .Sh FILES ! .Bl -tag -width INS@XXXXXX -compact ! .It Pa INS@XXXXXX If either .Fl S option is specified, or the --- 185,192 ---- .Pa /usr/bin/strip . .El .Sh FILES ! .Bl -tag -width INS@XXXXXXXXXX -compact ! .It Pa INS@XXXXXXXXXX If either .Fl S option is specified, or the *************** *** 192,199 **** .Fl p option is used in conjunction with the .Fl s ! option, temporary files named INS@XXXXXX, ! where XXXXXX is decided by .Xr mkstemp 3 , are created in the target directory. .El --- 195,202 ---- .Fl p option is used in conjunction with the .Fl s ! option, temporary files named INS@XXXXXXXXXX, ! where XXXXXXXXXX is decided by .Xr mkstemp 3 , are created in the target directory. .El