Browse Source

scripts: Fix typos in POD

Guillem Jover 10 years ago
parent
commit
b2ce10a620

+ 1 - 1
scripts/Dpkg/Arch.pm

@@ -491,7 +491,7 @@ sub debarch_eq($$)
 
 
 =item $bool = debarch_is($arch, $arch_wildcard)
 =item $bool = debarch_is($arch, $arch_wildcard)
 
 
-Evaluate the identity of a Debian architecture, by matchings with an
+Evaluate the identity of a Debian architecture, by matching with an
 architecture wildcard.
 architecture wildcard.
 
 
 =cut
 =cut

+ 1 - 1
scripts/Dpkg/BuildOptions.pm

@@ -158,7 +158,7 @@ sub has {
 =item $string = $bo->output($fh)
 =item $string = $bo->output($fh)
 
 
 Return a string representation of the build options suitable to be
 Return a string representation of the build options suitable to be
-assigned to an environment variable. Can optionnaly output that string to
+assigned to an environment variable. Can optionally output that string to
 the given filehandle.
 the given filehandle.
 
 
 =cut
 =cut

+ 1 - 1
scripts/Dpkg/Control/FieldsCore.pm

@@ -537,7 +537,7 @@ $from Dpkg::Control object to the $to Dpkg::Control object.
 Official fields are copied only if the field is allowed in both types of
 Official fields are copied only if the field is allowed in both types of
 objects. Custom fields are treated in a specific manner. When the target
 objects. Custom fields are treated in a specific manner. When the target
 is not among CTRL_PKG_SRC, CTRL_PKG_DEB or CTRL_FILE_CHANGES, then they
 is not among CTRL_PKG_SRC, CTRL_PKG_DEB or CTRL_FILE_CHANGES, then they
-are alway copied as is (the X- prefix is kept). Otherwise they are not
+are always copied as is (the X- prefix is kept). Otherwise they are not
 copied except if the target object matches the target destination encoded
 copied except if the target object matches the target destination encoded
 in the field name. The initial X denoting custom fields can be followed by
 in the field name. The initial X denoting custom fields can be followed by
 one or more letters among "S" (Source: corresponds to CTRL_PKG_SRC), "B"
 one or more letters among "S" (Source: corresponds to CTRL_PKG_SRC), "B"

+ 1 - 1
scripts/Dpkg/Deps.pm

@@ -1273,7 +1273,7 @@ Those methods are not meaningful for this object and always return undef.
 
 
 =item $union->simplify_deps($facts)
 =item $union->simplify_deps($facts)
 
 
-The simplication is done to generate an union of all the relationships.
+The simplification is done to generate an union of all the relationships.
 It uses $simple_dep->merge_union($other_dep) to get its job done.
 It uses $simple_dep->merge_union($other_dep) to get its job done.
 
 
 =back
 =back

+ 1 - 1
scripts/Dpkg/Index.pm

@@ -328,7 +328,7 @@ sub sort {
 
 
 Get a string representation of the index. The Dpkg::Control objects are
 Get a string representation of the index. The Dpkg::Control objects are
 output in the order which they have been read or added except if the order
 output in the order which they have been read or added except if the order
-hae been changed with sort().
+have been changed with sort().
 
 
 =item $index->output($fh)
 =item $index->output($fh)
 
 

+ 2 - 2
scripts/Dpkg/Vendor/Debian.pm

@@ -41,8 +41,8 @@ Dpkg::Vendor::Debian - Debian vendor object
 
 
 =head1 DESCRIPTION
 =head1 DESCRIPTION
 
 
-This vendor object customize the behaviour of dpkg scripts
-for Debian specific actions.
+This vendor object customizes the behaviour of dpkg scripts for Debian
+specific behavior and policies.
 
 
 =cut
 =cut
 
 

+ 3 - 3
scripts/Dpkg/Vendor/Default.pm

@@ -39,9 +39,9 @@ not be identified (see Dpkg::Vendor documentation).
 
 
 It provides some hooks that are called by various dpkg-* tools.
 It provides some hooks that are called by various dpkg-* tools.
 If you need a new hook, please file a bug against dpkg-dev and explain
 If you need a new hook, please file a bug against dpkg-dev and explain
-your need. Note that the hook API has no guaranty to be stable over an
-extended period. If you run an important distribution that makes use
-of vendor hooks, you'd better submit them for integration so that
+your need. Note that the hook API has no guarantee to be stable over an
+extended period of time. If you run an important distribution that makes
+use of vendor hooks, you'd better submit them for integration so that
 we avoid breaking your code.
 we avoid breaking your code.
 
 
 =head1 METHODS
 =head1 METHODS

+ 2 - 2
scripts/Dpkg/Vendor/Ubuntu.pm

@@ -41,8 +41,8 @@ Dpkg::Vendor::Ubuntu - Ubuntu vendor object
 
 
 =head1 DESCRIPTION
 =head1 DESCRIPTION
 
 
-This vendor object customize the behaviour of dpkg-source
-to check that Maintainers have been modified if necessary.
+This vendor object customizes the behaviour of dpkg scripts for Ubuntu
+specific behavior and policies.
 
 
 =cut
 =cut
 
 

+ 1 - 1
scripts/Dpkg/Version.pm

@@ -316,7 +316,7 @@ numbers. Returns -1 if $a is earlier than $b, 0 if they are equal and 1 if $a
 is later than $b.
 is later than $b.
 
 
 The "~" character always sort lower than anything else. Digits sort lower
 The "~" character always sort lower than anything else. Digits sort lower
-than non-digits. Among remaining characters alphabetic characters (A-Za-z)
+than non-digits. Among remaining characters alphabetic characters (A-Z, a-z)
 sort lower than the other ones. Within each range, the ASCII decimal value
 sort lower than the other ones. Within each range, the ASCII decimal value
 of the character is used to sort between characters.
 of the character is used to sort between characters.