From bdc74bea95e236b9b66f9c6adb7f1ee062d33685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= <lukas.krupcik@vsb.cz> Date: Fri, 29 Jul 2016 13:28:46 +0200 Subject: [PATCH] repair --- html_md.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html_md.sh b/html_md.sh index b63b3a484..f3051e456 100755 --- a/html_md.sh +++ b/html_md.sh @@ -41,8 +41,8 @@ if [ "$1" = "-t" ]; then sed -e 's/``` /```/' "./converted/$a" | sed -e 's/ //' | sed -e 's/<span class="pln">//' | sed -e 's/<span//' | sed -e 's/class="pln">//' | sed -e 's/<\/span>//' | sed -e 's/^\*\*//' | sed -e 's/\^\[>\[1<span>\]<\/span>\]//' > "./converted/${a%.*}TMP.md"; while read x ; do - arg1=$(`echo "$x" | cut -d"&" -f1 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`); - arg2=$(`echo $x | cut -d"&" -f2 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`); + arg1=`echo "$x" | cut -d"&" -f1 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`; + arg2=`echo $x | cut -d"&" -f2 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`; #echo "$arg1"; #echo ">$arg2"; -- GitLab