NOTICE: This package has been removed from pkgsrc

./wip/ossp-var, OSSP var - String Manipulations

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 1.1.3, Package name: ossp-var-1.1.3, Maintainer: obache

OSSP var is a flexible, full-featured and fast variable construct expansion
library. It supports a configurable variable construct syntax very similar to
the style found in many scripting languages (like @name, ${name}, , etc.) and
provides both simple scalar (${name}) and array (${name[index]}) expansion, plus
optionally one or more post-operations on the expanded value (${name:op:op...}).

The supported post-operations are length determination, case conversion,
defaults, postive and negative alternatives, sub-strings, regular expression
based substitutions, character translations, and padding. Additionally, a meta-
onstruct plus arithmetic expressions for index and range calculations allow
(even nested) iterations over array variable expansions
(..[..${name[#+1]}..]..). The actual variable value lookup is performed through
a callback function, so OSSP var can expand arbitrary values.


Required to run:
[wip/ossp-ex]

Master sites:

SHA1: ebc8cab3431cacc7897b2d9d804e05cdb3ec48ee
RMD160: e810dd1e232f460cba9a6fcc3f9caf7bff683d75
Filesize: 335.537 KB

Version history: (Expand)


CVS history: (Expand)


   2014-10-01 13:12:06 by OBATA Akio | Files touched by this commit (41) | Package removed
Log message:
Not working-in-progress here anymore.
   2013-08-22 13:14:58 by OBATA Akio | Files touched by this commit (5)
Log message:
Import ossp-var-1.1.3 as wip/ossp-var.

OSSP var is a flexible, full-featured and fast variable construct expansion
library. It supports a configurable variable construct syntax very similar to
the style found in many scripting languages (like @name, ${name}, , etc.) and
provides both simple scalar (${name}) and array (${name[index]}) expansion, plus
optionally one or more post-operations on the expanded value (${name:op:op...}).

The supported post-operations are length determination, case conversion,
defaults, postive and negative alternatives, sub-strings, regular expression
based substitutions, character translations, and padding. Additionally, a meta-
onstruct plus arithmetic expressions for index and range calculations allow
(even nested) iterations over array variable expansions
(..[..${name[#+1]}..]..). The actual variable value lookup is performed through
a callback function, so OSSP var can expand arbitrary values.