Note how cp(1) handles directories ending in "/."

PR:		75774
Submitted by:	Mike Meyer <mwm@mired.org> (original version)
This commit is contained in:
Tom Rhodes 2005-02-24 00:06:22 +00:00
parent df579737e5
commit a5e1813654
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142346

View File

@ -32,7 +32,7 @@
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
.Dd July 23, 2002
.Dd February 23, 2005
.Dt CP 1
.Os
.Sh NAME
@ -94,6 +94,10 @@ If
designates a directory,
.Nm
copies the directory and the entire subtree connected at that point.
If the source_file ends in a
.Pa / ,
the contents of the directory are copied rather than the
directory itself.
This option also causes symbolic links to be copied, rather than
indirected through, and for
.Nm