tde-l10n_split_desktop: Take care of section names containing slashes.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 4 years ago
parent 2a89b776f8
commit 1215cfd777
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -136,6 +136,7 @@ while read L; do
printf "%s\n" "${DO#|}" | tr "|" "\n" |
while read D; do
sed -n "s|^\[\(.*\)\]$|\1|p" "$D" | \
sed -e 's|/|\\\\/|g' | \
while read S; do
# process variables
sed -n "/^\[$S\]/,/^\[/s|^\([^#\[][^\[]*\)\[$L\][ ]*=.*|\1|p" "$D" | \

Loading…
Cancel
Save