mirror of
https://github.com/albfan/bash-ini-parser.git
synced 2025-04-19 13:22:14 +03:00
Values in an array in an output ini file must be without inverted commas. Otherwise the values are considered as a multiword value. It is the same way as in whitespace.ini (t0001) where var4 is a multiword value and var5 is an array. + 10 points for word "pivo" in whitespace.ini. I am Czech. :-)
18 lines
329 B
Plaintext
18 lines
329 B
Plaintext
[section1]
|
|
var1="section 1 VAR 1"
|
|
var2="section 1 VAR 2"
|
|
var3="section 1 VAR 3 "
|
|
[section2]
|
|
;var1 is an array
|
|
var1=section 2 VAR 1
|
|
var2=" section 2 VAR 2"
|
|
;var3 is an array
|
|
var3=section 2 VAR 3
|
|
;var4 is an array
|
|
var4=section 2 VAR 4
|
|
;var5 is an array
|
|
var5=section 2 VAR 5
|
|
[section3]
|
|
var1="section 3 VAR 1"
|
|
var2="section 3 VAR 2"
|