From joel@automatvapen.se Mon Nov 29 19:48:33 2004 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAB4116A4CE for ; Mon, 29 Nov 2004 19:48:33 +0000 (GMT) Received: from av11-1-sn2.hy.skanova.net (av11-1-sn2.hy.skanova.net [81.228.8.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 439C243D5F for ; Mon, 29 Nov 2004 19:48:33 +0000 (GMT) (envelope-from joel@automatvapen.se) Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id 1351838097; Mon, 29 Nov 2004 20:48:32 +0100 (CET) Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id 05A1837E53 for ; Mon, 29 Nov 2004 20:48:32 +0100 (CET) Received: from dude.automatvapen.se (t12o955p49.telia.com [213.66.34.169]) by smtp4-1-sn2.hy.skanova.net (Postfix) with SMTP id 0320337E46 for ; Mon, 29 Nov 2004 20:48:30 +0100 (CET) Received: by dude.automatvapen.se (sSMTP sendmail emulation); Mon, 29 Nov 2004 20:48:52 +0100 Message-Id: <20041129194830.0320337E46@smtp4-1-sn2.hy.skanova.net> Date: Mon, 29 Nov 2004 20:48:52 +0100 From: "Joel Dahl" Reply-To: Joel Dahl To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: [patch] fdp-primer: change cp -r to cp -R X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 74533 >Category: docs >Synopsis: [patch] fdp-primer: change cp -r to cp -R >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: closed >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 29 19:50:22 GMT 2004 >Closed-Date: Mon Nov 29 19:54:29 GMT 2004 >Last-Modified: Mon Nov 29 19:54:29 GMT 2004 >Originator: Joel Dahl >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD dude.automatvapen.se 5.3-STABLE FreeBSD 5.3-STABLE #1: Sat Nov 13 19:50:36 CET 2004 joel@dude.automatvapen.se:/usr/obj/usr/src/sys/WRK i386 >Description: # 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. >How-To-Repeat: >Fix: --- cpr.diff begins here --- Index: chapter.sgml =================================================================== RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/fdp-primer/overview/chapter.sgml,v retrieving revision 1.21 diff -u -r1.21 chapter.sgml --- chapter.sgml 6 Jul 2004 15:09:52 -0000 1.21 +++ chapter.sgml 29 Nov 2004 19:24:04 -0000 @@ -226,7 +226,7 @@ directory called vpn-w2k. &prompt.user; cd doc/en_US.ISO8859-1/articles -&prompt.user; cp -r committers-guide vpn-w2k +&prompt.user; cp -R committers-guide vpn-w2k --- cpr.diff ends here --- >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: ceri State-Changed-When: Mon Nov 29 19:54:19 GMT 2004 State-Changed-Why: Corrected - thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=74533 >Unformatted: