1
0
mirror of https://github.com/albfan/bash-ini-parser.git synced 2026-01-03 17:02:27 +03:00

Correction t0001 and t0003

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. :-)
This commit is contained in:
Pavel Rehak
2018-05-26 16:12:38 +02:00
committed by Alberto Fanjul
parent bd9d847d2c
commit 89591e5d54
2 changed files with 5 additions and 5 deletions

View File

@@ -9,5 +9,5 @@ var2=" foo"
var3="eco"
var4="piyo baz qux"
;var5 is an array
var5="foo bar baz hoge"
var5=foo bar baz hoge
var6="hoge"

View File

@@ -4,14 +4,14 @@ var2="section 1 VAR 2"
var3="section 1 VAR 3 "
[section2]
;var1 is an array
var1="section 2 VAR 1"
var1=section 2 VAR 1
var2=" section 2 VAR 2"
;var3 is an array
var3="section 2 VAR 3"
var3=section 2 VAR 3
;var4 is an array
var4="section 2 VAR 4"
var4=section 2 VAR 4
;var5 is an array
var5="section 2 VAR 5"
var5=section 2 VAR 5
[section3]
var1="section 3 VAR 1"
var2="section 3 VAR 2"