


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



