Fix typos (spelling errors) in x2p/*.
authorPeter J. Acklam) (via RT <perlbug-followup@perl.org>
Fri, 7 Jan 2011 07:14:50 +0000 (23:14 -0800)
committerAbigail <abigail@abigail.be>
Fri, 7 Jan 2011 10:24:52 +0000 (11:24 +0100)
# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81920]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81920 >

Signed-off-by: Abigail <abigail@abigail.be>
x2p/s2p.PL

index d1ce6ea..c3cddd8 100644 (file)
@@ -499,7 +499,7 @@ Swap the contents of the pattern space and the hold space.
 $ComTab{'y'}=[ 2, 'tra', \&Emit,       ''                                ]; #ok
 =item [2addr]B<y>B</>I<string1>B</>I<string2>B</>
 
-In the pattern space, replace all characters occuring in I<string1> by the
+In the pattern space, replace all characters occurring in I<string1> by the
 character at the corresponding position in I<string2>. It is possible
 to use any character (other than a backslash or newline) instead of a
 slash to delimit the strings.  Within I<string1> and I<string2>, a
@@ -1887,7 +1887,7 @@ A `\' in a BRE is used to make the subsequent character literal.
 
 =item `\' cannot be last in substitution
 
-A `\' in a subsitution string is used to make the subsequent character literal.
+A `\' in a substitution string is used to make the subsequent character literal.
 
 =item conflicting flags `%s'