summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorLarry W. Virden <lvirden@cas.org>1997-06-11 12:00:00 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-06-11 12:00:00 +1200
commit2ceaccd71c2e15067691ff5d6509bed0b81708ee (patch)
treeb506fb488e6c00f5287f100ef8b929db2fe144de /pod
parent64a2d3c93b97214cc31124cb3319ba08995b1da1 (diff)
downloadperl-2ceaccd71c2e15067691ff5d6509bed0b81708ee.tar.gz
misc perl5.004 doc fixes
here are a few doc changes that fix a few typos, etc. p5p-msgid: 199705160419.AAA16317@cas.org
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfaq4.pod2
-rwxr-xr-xpod/roffitall8
2 files changed, 9 insertions, 1 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod
index bcf03990bc..a5b505c4a7 100644
--- a/pod/perlfaq4.pod
+++ b/pod/perlfaq4.pod
@@ -371,7 +371,7 @@ suggests (assuming your string is contained in $text):
If you want to represent quotation marks inside a
quotation-mark-delimited field, escape them with backslashes (eg,
-C<"like \"this\""). Unescaping them is a task addressed earlier in
+C<"like \"this\"">. Unescaping them is a task addressed earlier in
this section.
Alternatively, the Text::ParseWords module (part of the standard perl
diff --git a/pod/roffitall b/pod/roffitall
index d69054f41b..cbd19af4fe 100755
--- a/pod/roffitall
+++ b/pod/roffitall
@@ -180,14 +180,22 @@ fi
#psroff -t -man -rC1 -rD1 -rF1 > $tmp/PerlDoc.ps 2>$tmp/PerlTOC.raw
#nroff -man -rC1 -rD1 -rF1 > $tmp/PerlDoc.txt 2>$tmp/PerlTOC.nr.raw
+# First, create the raw data
run="$cmd -rC1 -rD1 -rF1 >$tmp/PerlDoc.$ext 2>$tmp/PerlTOC.$ext.raw"
echo "$me: running $run"
eval $run $toroff
+
+#Now create the TOC
echo "$me: parsing TOC"
./rofftoc $tmp/PerlTOC.$ext.raw > $tmp/PerlTOC.tmp.man
run="$cmd $tmp/PerlTOC.tmp.man >$tmp/PerlTOC.$ext"
echo "$me: running $run"
eval $run
+
+# Finally, recreate the Doc, without the blank page 0
+run="$cmd -rC1 -rD1 >$tmp/PerlDoc.$ext 2>$tmp/PerlTOC.$ext.raw"
+echo "$me: running $run"
+eval $run $toroff
rm -f $tmp/PerlTOC.tmp.man $tmp/PerlTOC.$ext.raw
echo "$me: leaving you with $tmp/PerlDoc.$ext and $tmp/PerlTOC.$ext"