Attached are the diffs between lib/Pod/t/basic.cap and t/cap.out from
hpux, linux, and tru64. In Solaris the cap test succeeds. Unless
some portability simplifications are done to the cap test, I think
it's rather untestable -- I'll remove the cap test for the next snapshot.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen
--- lib/Pod/t/basic.cap Fri Nov 23 18:15:49 2001
+++ t/out.cap Fri Nov 23 19:06:03 2001
@@ -1,32 +1,32 @@
-[1mNAME[m
+2[1mNAME2[m
basic.pod - Test of various basic POD features in translators.
-[1mHEADINGS[m
+2[1mHEADINGS2[m
Try a few different levels of headings, with embedded formatting codes and
other interesting bits.
-[1mThis "is" a "level 1" heading[m
- [1m``Level'' "2 [4mheading[m[m
- Level 3 [1mheading [4mwith "weird stuff "" (double quote)"[m[m
+2[1mThis "is" a "level 1" heading2[m
+ 2[1m``Level'' "2 2[4mheading2[m2[m
+ Level 3 2[1mheading 2[4mwith "weird stuff "" (double quote)"2[m2[m
Level "4 "heading"
- Now try again with [1mintermixed[m text.
+ Now try again with 2[1mintermixed2[m text.
-[1mThis "is" a "level 1" heading[m
+2[1mThis "is" a "level 1" heading2[m
Text.
- [1m``Level'' 2 [4mheading[m[m
+ 2[1m``Level'' 2 2[4mheading2[m2[m
Text.
- Level 3 [1mheading [4mwith "weird stuff"[m[m
+ Level 3 2[1mheading 2[4mwith "weird stuff"2[m2[m
Text.
Level "4 "heading"
Text.
-[1mLINKS[m
+2[1mLINKS2[m
These are all taken from the Pod::Parser tests.
- Try out [4mLOTS[m of different ways of specifying references:
+ Try out 2[4mLOTS2[m of different ways of specifying references:
Reference the "section" in manpage
@@ -98,15 +98,15 @@
foobar
- Testing [4mitalics[m
+ Testing 2[4mitalics2[m
- "[4mItalic[m text" in foo
+ "2[4mItalic2[m text" in foo
- "Section "with" [4m[1mother[m markup[m" in foo|bar
+ "Section "with" 2[4m2[1mother2[m markup2[m" in foo|bar
Nested <http://www.perl.org/>
-[1mOVER AND ITEMS[m
+2[1mOVER AND ITEMS2[m
Taken from Pod::Parser tests, this is a test to ensure that multiline
=item paragraphs get indented appropriately.
@@ -136,7 +136,7 @@
one paragraph are properly compacted.
"foo"
- [1mbar[m
+ 2[1mbar2[m
"baz"
There shouldn't be any spaces between any of these item tags; this
idiom is used in perlfunc.
@@ -183,7 +183,7 @@
2. Second item.
-[1mFORMATTING CODES[m
+2[1mFORMATTING CODES2[m
Another test taken from Pod::Parser.
This is a test to see if I can do not only $self and "method()", but also
@@ -195,7 +195,7 @@
And I also want to make sure that newlines work like this "$self->{FOOBAR}
>> 3 and [$b => $a]->[$a <=> $b]"
- Of course I should still be able to do all this [4mwith[m escape sequences too:
+ Of course I should still be able to do all this 2[4mwith2[m escape sequences
+too:
"$self->method()" and "$self->{FIELDNAME}" and "{FOO=>BAR}".
Dont forget "$self->method()->{FIELDNAME} = {FOO=>BAR}".
@@ -210,12 +210,12 @@
Lets make sure these work for empty ones too, like and ">>" (just to be
obnoxious)
- The statement: "This is dog kind's [4mfinest[m hour!" is a parody of a
+ The statement: "This is dog kind's 2[4mfinest2[m hour!" is a parody of a
quotation from Winston Churchill.
The following tests are added to those:
- Make sure that a few other odd [4mthings[m still work. This should be a
+ Make sure that a few other odd 2[4mthings2[m still work. This should be a
vertical bar: |. Here's a test of a few more special escapes that have to
be supported:
@@ -239,7 +239,7 @@
This is a test of an index entry.
-[1mVERBATIM[m
+2[1mVERBATIM2[m
Throw in a few verbatim paragraphs.
use Term::ANSIColor;
--- lib/Pod/t/basic.cap Fri Nov 23 18:15:49 2001
+++ t/out.cap Fri Nov 23 18:51:40 2001
@@ -1,32 +1,32 @@
-[1mNAME[m
+[1mNAME[m
basic.pod - Test of various basic POD features in translators.
-[1mHEADINGS[m
+[1mHEADINGS[m
Try a few different levels of headings, with embedded formatting codes and
other interesting bits.
-[1mThis "is" a "level 1" heading[m
- [1m``Level'' "2 [4mheading[m[m
- Level 3 [1mheading [4mwith "weird stuff "" (double quote)"[m[m
+[1mThis "is" a "level 1" heading[m
+ [1m``Level'' "2 [4mheading[m[m
+ Level 3 [1mheading [4mwith "weird stuff "" (double quote)"[m[m
Level "4 "heading"
- Now try again with [1mintermixed[m text.
+ Now try again with [1mintermixed[m text.
-[1mThis "is" a "level 1" heading[m
+[1mThis "is" a "level 1" heading[m
Text.
- [1m``Level'' 2 [4mheading[m[m
+ [1m``Level'' 2 [4mheading[m[m
Text.
- Level 3 [1mheading [4mwith "weird stuff"[m[m
+ Level 3 [1mheading [4mwith "weird stuff"[m[m
Text.
Level "4 "heading"
Text.
-[1mLINKS[m
+[1mLINKS[m
These are all taken from the Pod::Parser tests.
- Try out [4mLOTS[m of different ways of specifying references:
+ Try out [4mLOTS[m of different ways of specifying references:
Reference the "section" in manpage
@@ -98,15 +98,15 @@
foobar
- Testing [4mitalics[m
+ Testing [4mitalics[m
- "[4mItalic[m text" in foo
+ "[4mItalic[m text" in foo
- "Section "with" [4m[1mother[m markup[m" in foo|bar
+ "Section "with" [4m[1mother[m markup[m" in foo|bar
Nested <http://www.perl.org/>
-[1mOVER AND ITEMS[m
+[1mOVER AND ITEMS[m
Taken from Pod::Parser tests, this is a test to ensure that multiline
=item paragraphs get indented appropriately.
@@ -136,7 +136,7 @@
one paragraph are properly compacted.
"foo"
- [1mbar[m
+ [1mbar[m
"baz"
There shouldn't be any spaces between any of these item tags; this
idiom is used in perlfunc.
@@ -183,7 +183,7 @@
2. Second item.
-[1mFORMATTING CODES[m
+[1mFORMATTING CODES[m
Another test taken from Pod::Parser.
This is a test to see if I can do not only $self and "method()", but also
@@ -195,7 +195,7 @@
And I also want to make sure that newlines work like this "$self->{FOOBAR}
>> 3 and [$b => $a]->[$a <=> $b]"
- Of course I should still be able to do all this [4mwith[m escape sequences too:
+ Of course I should still be able to do all this [4mwith[m escape sequences too:
"$self->method()" and "$self->{FIELDNAME}" and "{FOO=>BAR}".
Dont forget "$self->method()->{FIELDNAME} = {FOO=>BAR}".
@@ -210,12 +210,12 @@
Lets make sure these work for empty ones too, like and ">>" (just to be
obnoxious)
- The statement: "This is dog kind's [4mfinest[m hour!" is a parody of a
+ The statement: "This is dog kind's [4mfinest[m hour!" is a parody of a
quotation from Winston Churchill.
The following tests are added to those:
- Make sure that a few other odd [4mthings[m still work. This should be a
+ Make sure that a few other odd [4mthings[m still work. This should be a
vertical bar: |. Here's a test of a few more special escapes that have to
be supported:
@@ -239,7 +239,7 @@
This is a test of an index entry.
-[1mVERBATIM[m
+[1mVERBATIM[m
Throw in a few verbatim paragraphs.
use Term::ANSIColor;
--- lib/Pod/t/basic.cap Fri Nov 23 18:15:49 2001
+++ t/out.cap Fri Nov 23 19:45:58 2001
@@ -1,32 +1,32 @@
-[1mNAME[m
+2[1mNAME2[m
basic.pod - Test of various basic POD features in translators.
-[1mHEADINGS[m
+2[1mHEADINGS2[m
Try a few different levels of headings, with embedded formatting codes and
other interesting bits.
-[1mThis "is" a "level 1" heading[m
- [1m``Level'' "2 [4mheading[m[m
- Level 3 [1mheading [4mwith "weird stuff "" (double quote)"[m[m
+2[1mThis "is" a "level 1" heading2[m
+ 2[1m``Level'' "2 2[4mheading2[m2[m
+ Level 3 2[1mheading 2[4mwith "weird stuff "" (double quote)"2[m2[m
Level "4 "heading"
- Now try again with [1mintermixed[m text.
+ Now try again with 2[1mintermixed2[m text.
-[1mThis "is" a "level 1" heading[m
+2[1mThis "is" a "level 1" heading2[m
Text.
- [1m``Level'' 2 [4mheading[m[m
+ 2[1m``Level'' 2 2[4mheading2[m2[m
Text.
- Level 3 [1mheading [4mwith "weird stuff"[m[m
+ Level 3 2[1mheading 2[4mwith "weird stuff"2[m2[m
Text.
Level "4 "heading"
Text.
-[1mLINKS[m
+2[1mLINKS2[m
These are all taken from the Pod::Parser tests.
- Try out [4mLOTS[m of different ways of specifying references:
+ Try out 2[4mLOTS2[m of different ways of specifying references:
Reference the "section" in manpage
@@ -98,15 +98,15 @@
foobar
- Testing [4mitalics[m
+ Testing 2[4mitalics2[m
- "[4mItalic[m text" in foo
+ "2[4mItalic2[m text" in foo
- "Section "with" [4m[1mother[m markup[m" in foo|bar
+ "Section "with" 2[4m2[1mother2[m markup2[m" in foo|bar
Nested <http://www.perl.org/>
-[1mOVER AND ITEMS[m
+2[1mOVER AND ITEMS2[m
Taken from Pod::Parser tests, this is a test to ensure that multiline
=item paragraphs get indented appropriately.
@@ -136,7 +136,7 @@
one paragraph are properly compacted.
"foo"
- [1mbar[m
+ 2[1mbar2[m
"baz"
There shouldn't be any spaces between any of these item tags; this
idiom is used in perlfunc.
@@ -183,7 +183,7 @@
2. Second item.
-[1mFORMATTING CODES[m
+2[1mFORMATTING CODES2[m
Another test taken from Pod::Parser.
This is a test to see if I can do not only $self and "method()", but also
@@ -195,7 +195,7 @@
And I also want to make sure that newlines work like this "$self->{FOOBAR}
>> 3 and [$b => $a]->[$a <=> $b]"
- Of course I should still be able to do all this [4mwith[m escape sequences too:
+ Of course I should still be able to do all this 2[4mwith2[m escape sequences
+too:
"$self->method()" and "$self->{FIELDNAME}" and "{FOO=>BAR}".
Dont forget "$self->method()->{FIELDNAME} = {FOO=>BAR}".
@@ -210,12 +210,12 @@
Lets make sure these work for empty ones too, like and ">>" (just to be
obnoxious)
- The statement: "This is dog kind's [4mfinest[m hour!" is a parody of a
+ The statement: "This is dog kind's 2[4mfinest2[m hour!" is a parody of a
quotation from Winston Churchill.
The following tests are added to those:
- Make sure that a few other odd [4mthings[m still work. This should be a
+ Make sure that a few other odd 2[4mthings2[m still work. This should be a
vertical bar: |. Here's a test of a few more special escapes that have to
be supported:
@@ -239,7 +239,7 @@
This is a test of an index entry.
-[1mVERBATIM[m
+2[1mVERBATIM2[m
Throw in a few verbatim paragraphs.
use Term::ANSIColor;