Index: ossp-pkg/var/TODO RCS File: /v/ossp/cvs/ossp-pkg/var/Attic/TODO,v rcsdiff -q -kk '-r1.10' '-r1.11' -u '/v/ossp/cvs/ossp-pkg/var/Attic/TODO,v' 2>/dev/null --- 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. Index: ossp-pkg/var/var.pod RCS File: /v/ossp/cvs/ossp-pkg/var/var.pod,v rcsdiff -q -kk '-r1.18' '-r1.19' -u '/v/ossp/cvs/ossp-pkg/var/var.pod,v' 2>/dev/null --- 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,} +=item ${name:o-} 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-} +=item ${name:o,} -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///[gti]}