gennerate config file from multy config files, print merged results.
a.conf:
username=Jack
age=20
b.conf:
username=Lucy
age=30
passwd=123
then
# ./confgen a.conf
outputs:
# Loading a.conf
username = Jack
age = 20
# ./confgen a.conf b.conf
outputs:
# Loading a.conf
# Loading b.conf
username = Lucy
age = 30
passwd = 123
The output = a.conf + b.conf. You can add as many config files as you want, at least one.
To satisfied with config files that common in Linux System, the first INI section is ignored, you may add it manually.