Bug 28359

Summary: double-word typos in doc, see desc
Product: Documentation Reporter: Tyler Spivey <tspivey8>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Tyler Spivey 2001-06-23 06:40:00 UTC
typo in 4.3-r's faq/book.txt
cupple "the the"s
in handbook/book.txt, "as as" ..
mostly double-word stuff.
[do you want me to keep reporting these as i use ed to search for them?]

Fix: 

try creating a program that searches for double words in a text file.
How-To-Repeat: see desc
Comment 1 dima 2001-06-23 07:59:55 UTC
tyler spivey <tspivey8@home.com> writes:
> 
> >Number:         28359
> >Category:       docs
> >Synopsis:       double-word typos in doc, see desc
> >Description:
> typo in 4.3-r's faq/book.txt
> cupple "the the"s
> in handbook/book.txt, "as as" ..
> mostly double-word stuff.
> [do you want me to keep reporting these as i use ed to search for them?]

I just fixed about 25 of these cases in the current documentation.  I
used a rather naive regexp to find them, so others may still be
lurking.  If you still feel the need to look for more, please feel
free to go ahead, but please use the current documentation; it
wouldn't help for you to find what I already fixed.

> >Fix:
> try creating a program that searches for double words in a text file.

FWIW, this is what I used:

	grep -E '([[:space:]]+([^[:space:]]+)[[:space:]]+)\2[[:space:]]'

It's got quite a few problems, but it did find quite a few.  Actually,
it found too much because it would match for things like "* *"; stuff
like that appears quite often in the examples.

Thanks,

					Dima Dorfman
					dima@unixfreak.org
Comment 2 dd freebsd_committer freebsd_triage 2001-06-23 08:00:10 UTC
State Changed
From-To: open->closed

See audit trail; these particuar cases have been fixed.