File: debian_examples_location.patch

package info (click to toggle)
libhtml-parser-perl 3.72-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 688 kB
  • ctags: 213
  • sloc: perl: 2,038; ansic: 1,976; makefile: 12
file content (22 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: On Debian systems the examples are in another directory.
 Thus modify description where to find more examples.
 Note: not to be forwarded upstream
Origin: vendor
Forwarded: not-needed
Last-Update: 2009-08-15
--- a/Parser.pm
+++ b/Parser.pm
@@ -1047,9 +1047,10 @@ parsing as soon as the title end tag is
   $p->parse_file(shift || die) || die $!;
   print "\n";
 
-More examples are found in the F<eg/> directory of the C<HTML-Parser>
-distribution: the program C<hrefsub> shows how you can edit all links
-found in a document; the program C<htextsub> shows how to edit the text only; the
+On a Debian box, more examples can be found in the
+/usr/share/doc/libhtml-parser-perl/examples directory.
+The program C<hrefsub> shows how you can edit all links
+found in a document and C<htextsub> how to edit the text only; the
 program C<hstrip> shows how you can strip out certain tags/elements
 and/or attributes; and the program C<htext> show how to obtain the
 plain text, but not any script/style content.