19 lines
264 B
Markdown
19 lines
264 B
Markdown
# Bash INI
|
|
A simple ini parser written in bash
|
|
|
|
|
|
|
|
### Usage
|
|
```bash
|
|
# include the library
|
|
source "ini.sh"
|
|
|
|
# parse a config
|
|
ini_parse "config.ini"
|
|
|
|
# read a value
|
|
echo "${ini__section_1[first_value]}"
|
|
```
|
|
|
|
An in-depth example can be found in the `example` folder!
|