summaryrefslogtreecommitdiff
path: root/parse.awk
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-09-06 00:28:43 +0100
committerKatolaZ <katolaz@freaknet.org>2018-09-06 00:28:43 +0100
commit9871e9a170b8487b5fbafaee60c1170ee14bc075 (patch)
tree90e523910d097e6fbd5000912f8b45e6b97f55fb /parse.awk
parentdc95fc9270c75a66ffd0e7ff827e963a7dfb3726 (diff)
remove only first space in continued valuesHEADmaster
Diffstat (limited to 'parse.awk')
-rw-r--r--parse.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.awk b/parse.awk
index 3e53c29..c68ad18 100644
--- a/parse.awk
+++ b/parse.awk
@@ -72,7 +72,7 @@ function get_cur(cur){
/^[\ \f\n\r\t\v]+[^\ \f\n\r\t\v]+/{## Multi-line value
if (!is_empty(cur) && last_field!=""){
- gsub(/^[\ \f\n\r\t\v]+/, "", $0);
+ gsub(/^[\ \f\n\r\t\v]/, "", $0); # remove only the first space
cur[last_field]=cur[last_field] "\n" $0;
}
}