


ini2cfg(1)               USER COMMANDS                 ini2cfg(1)



ini2cfg
     ini2cfg - binary config description to textual output trans-
     lator


SYNOPSIS
     ini2cfg [ -h ] [ -s _s_u_b_s_t_r_i_n_g ] _f_i_l_e...




DESCRIPTION
     ini2cfg translates binary  config  descriptions  into  human
     readable output.


OPTIONS
     The following command options or arguments are recognized:


     -h   displays a short usage line.

     -s _s_u_b_s_t_r_i_n_g
          is used to selct and output only those  variables  that
          match the substring.

     _f_i_l_e the file that contains a binary config description. The
          output  will  be written to the screen. If the file has
          the extension "._i_n_i" then that file only will be  tried
          to  read.  Otherwise  the  whole  configuration tree is
          displayed.


RETURN VALUE
     The program returns with the following exit codes:


     0    If successful.


     1    On error.


ENVIRONMENT
     ini2cfg uses an environment variable $CONFIGPATH that should
     contain  the directories (separated by ; on OS/2 and by : on
     UNIX) that should be searched for configuration information.
     If  this variable doesn't exist, ini2cfg will make a default
     path of its own that consist of the current  directory,  the
     directory  specified  in $CONFIGHOME or otherwise $HOME, and
     the directory in $CONFIGROOT. The program  doesn't  complain
     if  any  of  these  variables  doesn't exist, its value just



Version 1.2       Last change: January 8th 1992                 1






ini2cfg(1)               USER COMMANDS                 ini2cfg(1)



     isn't used (sounds logical).


EXAMPLES
     ini2cfg file.ini displays the configuration info  as  it  is
     stored on _f_i_l_e._i_n_i.


SEE ALSO
     cfg2ini


DIAGNOSTICS
     ini2cfg will display warnings  and/or  errors  codes  if  it
     encounters something fishy or plain wrong.


BUGS
     There will be but I wasn't able to find them.


AUTHOR
     R. Kooijman
































Version 1.2       Last change: January 8th 1992                 2



