[Midnightbsd-cvs] src: cp.1: Fix compatibility section.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 29 22:32:08 EDT 2008


Log Message:
-----------
Fix compatibility section.

Modified Files:
--------------
    src/bin/cp:
        cp.1 (r1.5 -> r1.6)

-------------- next part --------------
Index: cp.1
===================================================================
RCS file: /home/cvs/src/bin/cp/cp.1,v
retrieving revision 1.5
retrieving revision 1.6
diff -L bin/cp/cp.1 -L bin/cp/cp.1 -u -r1.5 -r1.6
--- bin/cp/cp.1
+++ bin/cp/cp.1
@@ -256,9 +256,24 @@
 utility had a
 .Fl r
 option.
-This implementation supports that option, however, its use is strongly
-discouraged, as it does not correctly copy special files, symbolic links
-or fifo's.
+This implementation supports that option, however, its behavior
+is different from historical
+.Fx
+behavior.
+Use of this option
+is strongly discouraged as the behavior is
+implementation-dependent.
+In
+.Mx ,
+.Fl r
+is a synonym for
+.Fl RL
+and works the same unless modified by other flags.
+Historical implementations
+of
+.Fl r
+differ as they copy special files as normal
+files while recreating a hierarchy.
 .Pp
 The
 .Fl v
@@ -266,6 +281,7 @@
 .Fl n
 options are non-standard and their use in scripts is not recommended.
 .Sh SEE ALSO
+.Xr cpdup 1 ,
 .Xr mv 1 ,
 .Xr rcp 1 ,
 .Xr umask 2 ,


More information about the Midnightbsd-cvs mailing list