OSSP CVS Repository

ossp - Difference in ossp-pkg/var/var.pod versions 1.18 and 1.19
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/var/var.pod 1.18 -> 1.19

--- var.pod      2002/01/02 17:12:18     1.18
+++ var.pod      2002/02/27 11:55:26     1.19
@@ -538,24 +538,24 @@
 This operation will replace the contents of $name with "word" if $name
 is not empty. Otherwise, it will expand to the contents of $name.
 
-=item ${name:o<start>,<end>}
+=item ${name:o<start>-<end>}
 
 This operation will cut the string starting at position "start" to
 ending position "end" out of the contents of $name and return that.
 Please note that the character at position "end" is included in the
-result; ${name:o3,4} for instance, will return a two-character string.
+result; ${name:o3-4} for instance, will return a two-character string.
 Also, please note that start positions begin at zero (0)! If the "end"
-parameter is left out, as in ${name:o3,}, the operation will return
-the string starting at position 3 until the end.
+parameter is left out, as in ${name:o3-}, the operation will return the
+string starting at position 3 until the end.
 
-=item ${name:o<start>-<length>}
+=item ${name:o<start>,<length>}
 
-This operation will cut the range of "start" to "end" out of the
-contents of $name and return that. ${name:o3-4} means, for instance,
-to return the next 4 charaters starting at position 3 in the string.
-Please note that start positions begin at zero (0)! If the "end" range
-is left out, as in ${name:o3-}, the operation will return the string
-starting at position 3 until the end.
+This operation will cut the string starting at position "start"
+of length "length" out of the contents of $name and return that.
+${name:o3,4} means, for instance, to return the next 4 characters
+starting at position 3 in the string. Please note that start positions
+begin at zero (0)! If "length" is left out, as in ${name:o3,}, the
+operation will return the string starting at position 3 until the end.
 
 =item ${name:s/<pattern>/<string>/[gti]}
 

CVSTrac 2.0.1