Bug 95026

Summary: tr manual page typo
Product: Documentation Reporter: Nick Hibma <nick>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Nick Hibma 2006-03-28 08:10:16 UTC
	The tr page contains the following fragment which does not make sense:

	     -C      Complement the set of characters in string1, that is ``-C ab''
		     includes every character except for `a' and `b'.

	     -c      Same as -C but complement the set of values in string1.

string1 should probably be string2 for '-c' option.
Comment 1 Giorgos Keramidas freebsd_committer freebsd_triage 2006-05-10 19:49:58 UTC
Responsible Changed
From-To: freebsd-doc->tjr

Tim J. Robbins has done a lot of work on tr(1).  He probably 
knows what the best thing to do would be. 

Tim, does the proposed change look correct to you?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-03-09 00:38:24 UTC
Responsible Changed
From-To: tjr->freebsd-doc

tjr has returned his commit bit for safekeeping.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 17:43:17 UTC
State Changed
From-To: open->closed

No, the manpage is correct. -C stands for complement of characters (rest of the 
alphabets), -c stands for complement of values (rest of the ASCII table).