Typo's in ubuntu-docs Oneiric version

Connor Imes rocket2dmn at ubuntu.com
Fri Dec 16 18:54:27 UTC 2011



On 12/16/2011 12:10 PM, Jeremy Bicha wrote:
> On 16 December 2011 11:57, Hannie Dumoleyn <lafeber-dumoleyn2 at zonnet.nl> wrote:
>> Op 16-12-11 17:51, Jeremy Bicha schreef:
>>
>>> On 16 December 2011 11:39, Hannie Dumoleyn<lafeber-dumoleyn2 at zonnet.nl>
>>>  wrote:
>>>> Hello Jeremy,
>>>> Thanks for this information. It may turn out to be very useful in the
>>>> future.
>>>> I have done all the above and it works fine, with the test on
>>>> "chromaticity", that is.
>>>> The output was: ./color-whatisspace.page:    approximate how the eye
>>>> responds with a CIE 1931 chromaticity diagram
>>>>
>>>> But I still need your help on the following:
>>>> In ubuntu-docs (Precise) I found the word thier instead of their (typo).
>>>> I
>>>> tried to run the command rgrep with part of the sentence between ""
>>>> ~/ubuntu-docs/ubuntu-help/C$ rgrep "misleading at best to say that thier
>>>> display is calibrated" .
>>>> and
>>>> ~/ubuntu-docs/ubuntu-help/C$ rgrep "misleading at best to say that their
>>>> display is calibrated" .
>>>> But I get nothing. What did I do wrong?
>>> You didn't do anything wrong! If rgrep doesn't return any results,
>>> then that phrase isn't there. In other words, the misspelling was
>>> probably already fixed.
>>>
>>> Jeremy
>>>
>> Jeremy, this doesn't make sense to me. If the typo has already been fixed, I
>> should receive output after giving the second command (where I spelled
>> "their" instead of "thier" in the phrase).
>> Hannie
> Ah, rgrep has to match exactly. In this case, extra line breaks were
> added so "misleading" is now on a different line than the rest of the
> phrase. Try rgrep "at best to say" .
>
> Jeremy
>
+1, the shorter your search string is, the better.  Embedded XML tags
and extra whitespace will cause some grep searches to fail, esp. on
longer strings.

-Connor



More information about the ubuntu-doc mailing list