Linux SoftwareProgrammingLibrariesOSSP var 1.1.3

OSSP var 1.1.3


OSSP var is a flexible, full-featured and fast variable construct expansion library
Developer:   Ralf S. Engelschall and Peter Simons
      more software by author →
Price:  0.00
License:   MIT/X Consortium License
File size:   335K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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-construct 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.

Hint: There is also an ISO C++ derivative of the OSSP var library, named libvarexp. It is based on a development version of OSSP var and hence does not provide exactly the same amount of functionality. But it provides an ISO C++ API and so can be of interest to you if you are programming in ISO C++ (where OSSP var's ISO C API might be too boring for you).

What's New in This Release:
  • Fix some sprintf(3) parameter passing. [Ralf S. Engelschall]
  • Upgraded build environment to GNU libtool 1.5.20 and GNU shtool 2.0.3. [Ralf S. Engelschall]
  • Bumped year in copyright messages for new year 2005. [Ralf S. Engelschall]
    tags ossp var  post operations  variable construct  

    Download OSSP var 1.1.3


     ftp://ftp.ossp.org/pkg/lib/var/var-1.1.3.tar.gz


    Authors software

    OSSP var 1.1.3 (by Ralf S. Engelschall and Peter Simons)
    OSSP var is a flexible, full-featured and fast variable construct expansion library


    Similar software

    OSSP var 1.1.3 (by Ralf S. Engelschall and Peter Simons)
    OSSP var is a flexible, full-featured and fast variable construct expansion library

    OSSP val 0.9.4 (by Ralf S. Engelschall and Thomas Lotterer)
    OSSP val is a flexible name to value mapping library for C variables

    OSSP cfg 0.9.11 (by Ralf S. Engelschall)
    OSSP cfg project s a ISO-C library for parsing arbitrary C/C++-style configuration files

    OSSP iselect 1.3.1 (by Ralf S. Engelschall)

    OSSP flow2rrd 0.9.0 (by Ralf S. Engelschall)

    OSSP sio 0.9.3 (by Michael van Elst)

    OSSP js 1.6.20060820 (by Brendan Eich and Ralf S. Engelschall)
    OSSP js is a stand-alone distribution of the JavaScript (JS) programming language reference implementation from Mozilla -- aka "JSRef

    OSSP ex 1.0.5 (by Ralf S. Engelschall)
    OSSP ex is a small ISO-C++ style exception handling library for use in the ISO-C language

    OSSP str 0.9.12 (by Ralf S. Engelschall)

    OSSP mm 1.4.2 (by Ralf S. Engelschall)


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags