From owner-freebsd-doc Wed Jul 8 16:00:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12404 for freebsd-doc-outgoing; Wed, 8 Jul 1998 16:00:15 -0700 (PDT) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12366 for ; Wed, 8 Jul 1998 16:00:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA21622; Wed, 8 Jul 1998 16:00:02 -0700 (PDT) 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 ; 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 ; 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 X-Send-Pr-Version: 3.2 Subject: docs/7221: tar(1)'s -C and --directory options can be used for creation. Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 8 16:00:02 PDT 1998 >Last-Modified: >Originator: Kazuo Horikawa >Organization: personal user >Release: FreeBSD 2.2.5-RELEASE i386 >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 >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message