add C-style comment support
This commit is contained in:
@ -10,7 +10,7 @@ DefKey3=NoSpaces!
|
||||
Key2 = 2
|
||||
Key3 = 3
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -8,7 +8,7 @@ DefKey3=NoSpaces!
|
||||
[SimpleSection] # Comment For Section
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
|
||||
[SectionWithIndent]
|
||||
Key=Value
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 3
|
||||
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = onlyone
|
||||
|
||||
[SectionWithIndent]
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -9,7 +9,7 @@ DefKey3=NoSpaces!
|
||||
Key1 = 1
|
||||
Key2 = 2
|
||||
|
||||
[MultipleKeySection]
|
||||
[MultipleKeySection] // C style comment
|
||||
Key = 1
|
||||
Key = 2
|
||||
Key = 3
|
||||
|
@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
DEF='\e[0m'; BLD='\e[1m'; RED='\e[31m'; GRN='\e[32m'; WHT='\e[97m'
|
||||
|
||||
ScriptFullname=$(readlink -e "$0")
|
||||
ScriptName=$(echo "$ScriptFullname" | awk -F '/' '{print $NF;}')
|
||||
ScriptDir=$(dirname "$ScriptFullname")
|
||||
TestDir="$ScriptDir/tests"
|
||||
TestDir="$ScriptDir/data"
|
||||
Multini=$(readlink -e "$1")
|
||||
|
||||
if [[ -z "$Multini" ]]; then
|
||||
|
Reference in New Issue
Block a user