OSSP CVS Repository

ossp - Check-in [1904]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1904
Date: 2002-Feb-27 12:55:26 (local)
2002-Feb-27 11:55:26 (UTC)
User:rse
Branch:
Comment: fix offset documentation
Tickets:
Inspections:
Files:
ossp-pkg/var/TODO      1.10 -> 1.11     0 inserted, 2 deleted
ossp-pkg/var/var.pod      1.18 -> 1.19     11 inserted, 11 deleted

ossp-pkg/var/TODO 1.10 -> 1.11

--- TODO 2002/02/27 11:36:53     1.10
+++ TODO 2002/02/27 11:55:26     1.11
@@ -118,8 +118,6 @@
 
  o manual page style cleanup
 
- o docs of o1,2 und o1-2 seem to be still incorrect
-
  o add library context and move initialization and configuration
    into this context.
 


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