Bug 7221 - tar(1)'s -C and --directory options can be used for creation.
Summary: tar(1)'s -C and --directory options can be used for creation.
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-07-09 00:00 UTC by Kazuo Horikawa
Modified: 1998-07-09 05:29 UTC (History)
0 users

See Also:


Attachments
file.diff (326 bytes, patch)
1998-07-09 00:00 UTC, Kazuo Horikawa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kazuo Horikawa 1998-07-09 00:00:02 UTC
	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
Comment 1 Joseph Koshy freebsd_committer freebsd_triage 1998-07-09 05:10:45 UTC
State Changed
From-To: open->closed

Fixed in rev 1.16 of "tar.1", thanks!