Bug 74533

Summary: [patch] fdp-primer: change cp -r to cp -R
Product: Documentation Reporter: Joel Dahl <joel>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cpr.diff none

Description Joel Dahl 2004-11-29 19:50:22 UTC
# From fdp-primer, chapter 1.3:
"
Copy an existing article to use as a template. In this case, you have
decided that your new article belongs in a directory called vpn-w2k.

% cd doc/en_US.ISO8859-1/articles
% cp -r committers-guide vpn-w2k
"

# From cp(1) man page:
"
COMPATIBILITY
Historic versions of the cp utility had a -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.
"

cp -r is used in the quick start, despite the fact that its use is
strongly discouraged, so we're breaking our own rules. cp -R is a
better choice.
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2004-11-29 19:54:19 UTC
State Changed
From-To: open->closed

Corrected - thanks.