Skip to content
Snippets Groups Projects
Commit bdc74bea authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

repair

parent c49f26f0
Branches
Tags
No related merge requests found
...@@ -41,8 +41,8 @@ if [ "$1" = "-t" ]; then ...@@ -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"; 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 while read x ; do
arg1=$(`echo "$x" | cut -d"&" -f1 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`); arg1=`echo "$x" | cut -d"&" -f1 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`;
arg2=$(`echo $x | cut -d"&" -f2 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`); arg2=`echo $x | cut -d"&" -f2 | sed 's:[]\[\^\$\.\*\/\"]:\\\\&:g'`;
#echo "$arg1"; #echo "$arg1";
#echo ">$arg2"; #echo ">$arg2";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment