From k-horik@yk.rim.or.jp  Wed Jul  8 15:50:56 1998
Received: from mail.yk.rim.or.jp (root@mail.yk.rim.or.jp [202.247.130.37])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA10841
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Jul 1998 15:50:54 -0700 (PDT)
          (envelope-from k-horik@yk.rim.or.jp)
Received: from localhost (ppp177.yk.rim.or.jp [202.247.134.177])
	by mail.yk.rim.or.jp (8.8.5/3.6W-RIMNET-98-06-09) with ESMTP id HAA26047
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 9 Jul 1998 07:50:48 +0900 (JST)
Message-Id: <19980709075027F.k-horik@yk.rim.or.jp>
Date: Thu, 09 Jul 1998 07:50:27 +0900
From: k-horik@yk.rim.or.jp
Reply-To: k-horik@yk.rim.or.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: tar(1)'s -C and --directory options can be used for creation.
X-Send-Pr-Version: 3.2

>Number:         7221
>Category:       docs
>Synopsis:       tar(1)'s -C and --directory options can be used for creation.
>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:   Wed Jul  8 16:00:02 PDT 1998
>Closed-Date:    Wed Jul 8 21:10:45 PDT 1998
>Last-Modified:  Wed Jul  8 21:29:13 PDT 1998
>Originator:     Kazuo Horikawa
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
personal user
>Environment:

	.\"     $Id: tar.1,v 1.6.2.3 1998/02/15 17:05:30 steve Exp $

>Description:

	In tar(1) man page, there is a description about -C and
	--directory option as follows.

     -C directory
     --directory directory   Change to directory for extraction.


	But, we can use -C and --directory option for creation.  For
	example, -C option is used for creation in EXAMPLES section.

		tar -cf - -C srcdir . | tar xpf - -C destdir


	So, how about change the description about -C and --directory
	option as follows?

     -C directory
     --directory directory   Change to directory for creation or extraction.

>How-To-Repeat:

	% man 1 tar

>Fix:
--- tar.1.orig  Wed Jul  8 23:38:15 1998
+++ tar.1       Wed Jul  8 23:57:56 1998
@@ -140,7 +140,7 @@
 .It Fl -directory Ar directory
 Change to
 .Ar directory
-for extraction.
+for creation or extraction.
 .It Fl -checkpoint
 Print number of buffer reads/writes while reading/writing the archive.
 .It Fl f Ar [hostname:]file
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Wed Jul 8 21:10:45 PDT 1998 
State-Changed-Why:  
Fixed in rev 1.16 of "tar.1", thanks! 
>Unformatted:
