File: fix-spelling-errors-found-by-lintian.patch

package info (click to toggle)
libsyntax-highlight-perl-improved-perl 1.01-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 424 kB
  • sloc: perl: 1,285; makefile: 2
file content (76 lines) | stat: -rw-r--r-- 3,325 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Description: Fix spelling errors found by Lintian
Author: Axel Beckert <abe@debian.org>

--- a/ChangeLog
+++ b/ChangeLog
@@ -36,7 +36,7 @@
     *   Added $VERSION variable.
 
     *   Added support for different types of literal numbers: floating
-        point, exponential notation (eg: 1.3e10), hexidecimal, and
+        point, exponential notation (eg: 1.3e10), hexadecimal, and
         underscore-separated.
 
     *   Added the `CodeTerm' and `DATA' Formats.
--- a/lib/Syntax/Highlight/Perl/Improved.pm
+++ b/lib/Syntax/Highlight/Perl/Improved.pm
@@ -250,7 +250,7 @@
 
 =item CodeTerm
 
-The special tokens that signal the end of executable code and the begining of the
+The special tokens that signal the end of executable code and the beginning of the
 DATA section.  Specifically, 'C<__END__>' and 'C<__DATA__>'.
 
 =item DATA
@@ -2844,7 +2844,7 @@
 =item 6
 
 Add support for greater-than-one length special characters.  Specifically, octal,
-hexidecimal, and control character codes.  For example, C<\644>, C<\x1a4> or C<\c[>.
+hexadecimal, and control character codes.  For example, C<\644>, C<\x1a4> or C<\c[>.
 
 =back
 
@@ -2915,7 +2915,7 @@
 =item *
 
 Added support for different types of literal numbers: floating point,
-exponential notation (eg: 1.3e10), hexidecimal, and underscore-separated.
+exponential notation (eg: 1.3e10), hexadecimal, and underscore-separated.
 
 =item *
 
--- a/viewperl
+++ b/viewperl
@@ -29,7 +29,7 @@
     'Module'      => 0,   # Flag indicating that we've seen at least one module.
     'Name'        => 1,   # Flag indicating whether we should display file names.
     'POD'         => 0,   # Flag indicating whether or not to display in-line POD.
-    'Reset'       => 1,   # Flag to supress resetting line-numbers and formatting between files.
+    'Reset'       => 1,   # Flag to suppress resetting line-numbers and formatting between files.
     'Shift'       => 4,   # Width of expanded tabs (shift-width).
     'Expand Tabs' => 1,   # Flag to expand tabs or not.
 );
@@ -154,17 +154,17 @@
 
   -c, --code=CODE       view CODE, syntax highlighted
   -l, --lines           display line numbers
-  -L, --no-lines        supress display of line numbers (default)
+  -L, --no-lines        suppress display of line numbers (default)
   -m, --module=FILE     consider FILE the name of a module, not a file name
   -n, --name            display the name of each file (default)
-  -N, --no-name         supress display of file names (implied by --no-reset)
+  -N, --no-name         suppress display of file names (implied by --no-reset)
   -p, --pod             display inline POD documentation (default)
   -P, --no-pod          hide POD documentation (line numbers still increment)
   -r, --reset           reset formatting and line numbers each file (default)
-  -R, --no-reset        supress resetting of formatting and line numbers
+  -R, --no-reset        suppress resetting of formatting and line numbers
   -s, --shift=WIDTH     set tab width (default is 4)
   -t, --tabs            translate tabs into spaces (default)
-  -T, --no-tabs         supress translating of tabs into spaces
+  -T, --no-tabs         suppress translating of tabs into spaces
 
       --help            display this help and exit