From dkelly@nospam.hiwaay.net  Sat May 30 21:16:08 1998
Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27664
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 May 1998 21:16:05 -0700 (PDT)
          (envelope-from dkelly@nospam.hiwaay.net)
Received: from nospam.hiwaay.net (tnt3-89.HiWAAY.net [208.147.146.89])
	by fly.HiWAAY.net (8.8.8/8.8.6) with ESMTP id XAA13131
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 30 May 1998 23:16:03 -0500 (CDT)
Received: (from dkelly@localhost)
          by nospam.hiwaay.net (8.8.8/8.8.4)
	  id WAA00947; Sat, 30 May 1998 22:11:50 -0500 (CDT)
Message-Id: <199805310311.WAA00947@nospam.hiwaay.net>
Date: Sat, 30 May 1998 22:11:50 -0500 (CDT)
From: dkelly@hiwaay.net
Reply-To: dkelly@hiwaay.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: pax manpage error
X-Send-Pr-Version: 3.2

>Number:         6801
>Category:       docs
>Synopsis:       error in example for pax
>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:   Sat May 30 21:20:00 PDT 1998
>Closed-Date:    Sun May 31 15:43:33 PDT 1998
>Last-Modified:  Sun May 31 15:45:35 PDT 1998
>Originator:     David Kelly
>Release:        FreeBSD 2.2.6-STABLE i386
>Organization:
>Environment:

	

>Description:

% man pax says:

     The following commands:
           mkdir newdir
           cd olddir
           pax -rw . newdir
     will copy the entire olddir directory hierarchy to newdir.


>How-To-Repeat:

nospam: {1010} mkdir olddir newdir
nospam: {1011} cd olddir
nospam: {1012} touch tomcat callie patches grumpy rebok
nospam: {1013} ls 
callie          grumpy          patches         rebok           tomcat
nospam: {1014} pax -rw . newdir
pax: Cannot access destination directory newdir <No such file or directory>
nospam: {1015} pax -rw . ../newdir
nospam: {1016} cd ../newdir
nospam: {1017} ls
callie          grumpy          patches         rebok           tomcat
nospam: {1018}

>Fix:
	
correct command (as shown above) is "pax -rw . ../newdir"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun May 31 15:43:33 PDT 1998 
State-Changed-Why:  
Fixed in -stable and -current.  Thanks for the report. 
>Unformatted:
