You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
#!/usr/bin/env bash
# Load in the ini file parser
source ini-file-parser.sh
# Load a.ini
process_ini_file 'a.ini'
# Display a specific value from a specific section
echo $(get_value 'section1' 'value1')
# Load b.ini
process_ini_file 'b.ini'
# Display a specific value from a specific section
echo $(get_value 'section1' 'value1')
The output is not correct:
$ ./test.sh
a
[ WARNING ] key value1 - Defined multiple times within section section1
[ WARNING ] key value2 - Defined multiple times within section section1
a1