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.
6 lines
143 B
Text
6 lines
143 B
Text
@comment $NetBSD: PLIST,v 1.1 2013/08/22 11:14:58 obache Exp $
|
|
bin/var-config
|
|
include/var.h
|
|
lib/libvar.la
|
|
man/man1/var-config.1
|
|
man/man3/var.3
|