Slice Tools
  • Home
  • SourceForge Page


  • libFoundation
  • Home
  • Class Hierarchy
  • Class List
  • Class Members
  • Examples


  • SourceForge.net Logo
     

    example-configfile.out

    Sample output from example-config.

    Notice how NIH.workdir, TIGR.workdir, and TIGR.update.workdir all have different values.
    ./example-configfile --configfile example-configfile.ini
    --------------------------
    Demonstating ConfigFile
    --------------------------
    APP_NAME=test
    APP_VERSION=1.0
    DEFAULTWORKDIR=DEFAULT_DIR/work/test/1.0
    DEFAULT_DIR=DEFAULT_DIR
    ORG=DEFAULT
    PATH=test/1.0
    NIH.NIH_DIR=/some/other/path/nih/dir
    NIH.ORG=NIH
    NIH.WORKDIR=/some/other/path/nih/dir/work/test/1.0
    TIGR.ORG=TIGR
    TIGR.OTHERFLAG=--resolve
    TIGR.TIGR_DIR=/tigr/dir
    TIGR.WORKDIR=/tigr/dir/work/test/1.0
    TIGR.updated.APP_NAME=updated.test
    TIGR.updated.TIGR_DIR=/tigr/new/dir
    TIGR.updated.WORKDIR=/tigr/new/dir/work/updated.test/1.0
    
    dir is now /tmp/work
    TIGR dir is:/tigr/dir/work/test/1.0
    NIH dir is:/some/other/path/nih/dir/work/test/1.0
    dir is now /some/other/path/nih/dir/work/test/1.0