summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-30 09:45:47 +0000
committerru <ru@FreeBSD.org>2001-05-30 09:45:47 +0000
commit0ca37f1781974931178f1686aa592a3072810131 (patch)
tree0b41620742a8ae5b3a81b4c942ad05b679800231 /usr.bin/xinstall
parentb410bb546abd3f7523a7471eccd3b661dbbb053c (diff)
downloadFreeBSD-src-0ca37f1781974931178f1686aa592a3072810131.zip
FreeBSD-src-0ca37f1781974931178f1686aa592a3072810131.tar.gz
Note that the default behavior has changed to copy files.
Also, fix markup in the SYNOPSIS. Submitted by: dougb
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r--usr.bin/xinstall/install.120
1 files changed, 11 insertions, 9 deletions
diff --git a/usr.bin/xinstall/install.1 b/usr.bin/xinstall/install.1
index 834a050..fbab819 100644
--- a/usr.bin/xinstall/install.1
+++ b/usr.bin/xinstall/install.1
@@ -54,24 +54,20 @@
.Op Fl g Ar group
.Op Fl m Ar mode
.Op Fl o Ar owner
-.Ar file1
-\&...
-.Ar fileN directory
+.Ar file1 ... fileN directory
.Nm
.Fl d
.Op Fl v
.Op Fl g Ar group
.Op Fl m Ar mode
.Op Fl o Ar owner
-.Ar directory
-\&...
+.Ar directory ...
.Sh DESCRIPTION
-The file(s) are moved (or copied if the
-.Fl c
-option is specified) to the target file or directory.
+The file(s) are copied
+to the target file or directory.
If the destination is a directory, then the
.Ar file
-is moved into
+is copied into
.Ar directory
with its original filename.
If the target file already exists, it is
@@ -203,6 +199,12 @@ is decided by
.Xr mkstemp 3 ,
are created in the target directory.
.El
+.Sh COMPATIBILITY
+Historically
+.Nm
+moved files by default.
+The default was changed to copy in
+.Fx 4.4 .
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chgrp 1 ,
OpenPOWER on IntegriCloud