OSSP CVS Repository

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

ossp-pkg/var/var.pod 1.5 -> 1.6

--- var.pod      2001/11/19 16:15:32     1.5
+++ var.pod      2001/11/20 12:22:42     1.6
@@ -533,15 +533,6 @@
 
 =item ${name:o<start>-<end>}
 
-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.
-
-=item ${name:o<start>,<length>}
-
 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 not included in
@@ -552,6 +543,18 @@
 as in ${name:o3,}, the operation will return the string starting at
 position 3 until the end.
 
+//FIXME THL: I expect start-end *inclusive*
+//FIXME THL: I expect start,len len characters not len-1
+
+=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.
+
 =item ${name:s/<pattern>/<string>/[gti]}
 
 This operation will perform a search-and-replace operation on the

CVSTrac 2.0.1