--- l-sed2.xml.orig 2012-01-02 20:22:52.000000000 +0100 +++ l-sed2.xml 2012-01-04 20:43:16.000000000 +0100 @@ -49,7 +49,7 @@ follows: </p> -<pre caption="Replacing all the occurences on every line"> +<pre caption="Replacing all the occurrences on every line"> $ <i>sed -e 's/foo/bar/g' myfile.txt</i> </pre> @@ -95,7 +95,7 @@ <path>/usr/local</path> with <path>/usr</path>: </p> -<pre caption="Replacing all the occurences of one string with another one"> +<pre caption="Replacing all the occurrences of one string with another one"> $ <i>sed -e 's:/usr/local:/usr:g' mylist.txt</i> </pre> @@ -115,7 +115,7 @@ Up until now, we've only performed simple string substitution. While this is handy, we can also match a regular expression. For example, the following sed command will match a phrase beginning with '<' and ending with '>', and -containing any number of characters inbetween. This phrase will be deleted +containing any number of characters in-between. This phrase will be deleted (replaced with an empty string): </p> @@ -188,7 +188,7 @@ last position, as follows: </p> -<pre caption="Specifying a rangle of characters"> +<pre caption="Specifying a range of characters"> '[a-x]*' </pre> @@ -257,7 +257,7 @@ <p> It's advantageous to use character classes whenever possible, because they adapt -better to nonEnglish speaking locales (including accented characters when +better to non-English speaking locales (including accented characters when necessary, etc.). </p> Reproducible: Always
Created attachment 297967 [details, diff] l-sed2.xml.patch
Thanks, fixed in CVS.