Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/articles: l-sed2.xml
Date: Fri, 29 Jun 2012 18:03:50
Message-Id: 20120629160335.0735F2004B@flycatcher.gentoo.org
1 swift 12/06/29 16:03:35
2
3 Modified: l-sed2.xml
4 Log:
5 Fix bug #397687 - Spelling corrections in article, thanks to Christophe Lefebvre for the patch
6
7 Revision Changes Path
8 1.8 xml/htdocs/doc/en/articles/l-sed2.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/articles/l-sed2.xml?rev=1.8&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/articles/l-sed2.xml?rev=1.8&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/articles/l-sed2.xml?r1=1.7&r2=1.8
13
14 Index: l-sed2.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed2.xml,v
17 retrieving revision 1.7
18 retrieving revision 1.8
19 diff -u -r1.7 -r1.8
20 --- l-sed2.xml 4 Sep 2011 17:53:41 -0000 1.7
21 +++ l-sed2.xml 29 Jun 2012 16:03:34 -0000 1.8
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed2.xml,v 1.7 2011/09/04 17:53:41 swift Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed2.xml,v 1.8 2012/06/29 16:03:34 swift Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide disclaimer="articles">
29 @@ -21,7 +21,7 @@
30 version of the original article, and contains various improvements made by the
31 Gentoo Linux Documentation team -->
32
33 -<version>1.2</version>
34 +<version>2</version>
35 <date>2005-10-09</date>
36
37 <chapter>
38 @@ -49,7 +49,7 @@
39 follows:
40 </p>
41
42 -<pre caption="Replacing all the occurences on every line">
43 +<pre caption="Replacing all the occurrences on every line">
44 $ <i>sed -e 's/foo/bar/g' myfile.txt</i>
45 </pre>
46
47 @@ -95,7 +95,7 @@
48 <path>/usr/local</path> with <path>/usr</path>:
49 </p>
50
51 -<pre caption="Replacing all the occurences of one string with another one">
52 +<pre caption="Replacing all the occurrences of one string with another one">
53 $ <i>sed -e 's:/usr/local:/usr:g' mylist.txt</i>
54 </pre>
55
56 @@ -115,7 +115,7 @@
57 Up until now, we've only performed simple string substitution. While this is
58 handy, we can also match a regular expression. For example, the following sed
59 command will match a phrase beginning with '&lt;' and ending with '&gt;', and
60 -containing any number of characters inbetween. This phrase will be deleted
61 +containing any number of characters in-between. This phrase will be deleted
62 (replaced with an empty string):
63 </p>
64
65 @@ -188,7 +188,7 @@
66 last position, as follows:
67 </p>
68
69 -<pre caption="Specifying a rangle of characters">
70 +<pre caption="Specifying a range of characters">
71 '[a-x]*'
72 </pre>
73
74 @@ -257,7 +257,7 @@
75
76 <p>
77 It's advantageous to use character classes whenever possible, because they adapt
78 -better to nonEnglish speaking locales (including accented characters when
79 +better to non-English speaking locales (including accented characters when
80 necessary, etc.).
81 </p>