From: Abhijit Menon-Sen Date: Mon, 3 Jun 2002 17:06:03 +0000 (+0000) Subject: Remove all occurrences of occurence, except for one (in the X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb8eeed8cb12743f5c60d9d4d0405913307f1b9b;p=p5sagit%2Fp5-mst-13.2.git Remove all occurrences of occurence, except for one (in the Changelog) that is preserved for historical reasons. p4raw-id: //depot/perl@16979 --- diff --git a/ext/File/Glob/bsd_glob.c b/ext/File/Glob/bsd_glob.c index 6989df8..83d71f0 100644 --- a/ext/File/Glob/bsd_glob.c +++ b/ext/File/Glob/bsd_glob.c @@ -1209,7 +1209,7 @@ qprintf(const char *str, register Char *s) #ifdef MACOS_TRADITIONAL -/* Replace the last occurence of the pattern ":[^:]+::", e.g. ":lib::", +/* Replace the last occurrence of the pattern ":[^:]+::", e.g. ":lib::", with a single ':', if possible. It is not an error, if the pattern doesn't match (we return -1), but if there are two consecutive colons '::', there must be a preceding ':[^:]+'. Hence, a volume path like diff --git a/hints/ultrix_4.sh b/hints/ultrix_4.sh index f418ea1..aac5ce3 100644 --- a/hints/ultrix_4.sh +++ b/hints/ultrix_4.sh @@ -16,7 +16,7 @@ case "$optimize" in esac # Some users have reported Configure runs *much* faster if you -# replace all occurences of /bin/sh by /bin/sh5 +# replace all occurrences of /bin/sh by /bin/sh5 # Something like: # sed 's!/bin/sh!/bin/sh5!g' Configure > Configure.sh5 # Then run "sh5 Configure.sh5 [your options]" diff --git a/lib/Pod/Checker.pm b/lib/Pod/Checker.pm index 60d2fef..5aca76c 100644 --- a/lib/Pod/Checker.pm +++ b/lib/Pod/Checker.pm @@ -202,7 +202,7 @@ These may not necessarily cause trouble, but indicate mediocre style. =over 4 -=item * multiple occurence of link target I +=item * multiple occurrence of link target I The POD file has some C<=item> and/or C<=head> commands that have the same text. Potential hyperlinks to such a text cannot be unique then. @@ -646,7 +646,7 @@ sub name { Add (if argument specified) and retrieve the nodes (as defined by C<=headX> and C<=item>) of the current POD. The nodes are returned in the order of -their occurence. They consist of plain text, each piece of whitespace is +their occurrence. They consist of plain text, each piece of whitespace is collapsed to a single blank. =cut @@ -767,7 +767,7 @@ sub end_pod { keys %{$self->{_unique_nodes}})) { $self->poderror({ -line => '-', -file => $infile, -severity => 'WARNING', - -msg => "multiple occurence of link target '$_'"}); + -msg => "multiple occurrence of link target '$_'"}); } ## Print the number of errors found diff --git a/lib/Pod/Find.pm b/lib/Pod/Find.pm index 2b84b86..111744b 100644 --- a/lib/Pod/Find.pm +++ b/lib/Pod/Find.pm @@ -334,7 +334,7 @@ List directories as they are searched =back -Returns the full path of the first occurence to the file. +Returns the full path of the first occurrence to the file. Package names (eg 'A::B') are automatically converted to directory names in the selected directory. (eg on unix 'A::B' is converted to 'A/B'). Additionally, '.pm', '.pl' and '.pod' are appended to the diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 5dbed23..5ffd019 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -16575,7 +16575,7 @@ after =back =item Warnings -multiple occurence of link target I, line containing nothing but +multiple occurrence of link target I, line containing nothing but whitespace in paragraph, file does not start with =head, previous =item has no contents, preceding non-item paragraph(s), =item type mismatch (I vs. I), I unescaped CE> in paragraph, Unknown entity, No diff --git a/t/pod/poderrs.t b/t/pod/poderrs.t index 1b92ede..526c98b 100755 --- a/t/pod/poderrs.t +++ b/t/pod/poderrs.t @@ -177,7 +177,7 @@ bla is evil blub is evil -=head2 reoccurence +=head2 reoccurrence =over 4 diff --git a/t/pod/poderrs.xr b/t/pod/poderrs.xr index a21efdb..327b2e0 100644 --- a/t/pod/poderrs.xr +++ b/t/pod/poderrs.xr @@ -42,5 +42,5 @@ *** ERROR: unresolved internal link 'end with begin' at line 108 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'OoPs' at line 109 in file t/pod/poderrs.t *** ERROR: unresolved internal link 'abc def' at line 113 in file t/pod/poderrs.t -*** WARNING: multiple occurence of link target 'Misc' at line - in file t/pod/poderrs.t +*** WARNING: multiple occurrence of link target 'Misc' at line - in file t/pod/poderrs.t t/pod/poderrs.t has 33 pod syntax errors. diff --git a/util.c b/util.c index 572b921..2668755 100644 --- a/util.c +++ b/util.c @@ -752,7 +752,7 @@ Perl_fbm_instr(pTHX_ unsigned char *big, register unsigned char *bigend, SV *lit /* start_shift, end_shift are positive quantities which give offsets of ends of some substring of bigstr. - If `last' we want the last occurence. + If `last' we want the last occurrence. old_posp is the way of communication between consequent calls if the next call needs to find the . The initial *old_posp should be -1. diff --git a/wince/comp.pl b/wince/comp.pl index ea061ee..83f31d0 100644 --- a/wince/comp.pl +++ b/wince/comp.pl @@ -15,7 +15,7 @@ and --do Executes on local computer command that is presented by arguments immediately following after --do Most reason why you may want to execute script in this mode is that - arguments preprocessed to replace [p] occurences into current perl + arguments preprocessed to replace [p] occurrences into current perl location. Typically it is handy to run perl comp.pl --do cecopy pc:..\lib\Exporter.pm ce:[p]\lib diff --git a/x2p/find2perl.PL b/x2p/find2perl.PL index 7b6834d..4c5df7d 100644 --- a/x2p/find2perl.PL +++ b/x2p/find2perl.PL @@ -841,7 +841,7 @@ Like -print, but terminates with \0 instead of \n. =item C<-exec OPTIONS ;> -exec() the arguments in OPTIONS in a subprocess; any occurence of {} in +exec() the arguments in OPTIONS in a subprocess; any occurrence of {} in OPTIONS will first be substituted with the path of the current file. Note that the command "rm" has been special-cased to use perl's unlink() function instead (as an optimization). The C<;> must be passed as