From c3d874e90210aac84283a6ec41e735cbca6fdeca 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: Thu, 26 Jan 2017 09:01:58 +0100
Subject: [PATCH] edit tranfer script

---
 scripts/preklopeni_dokumentace/html_md.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/preklopeni_dokumentace/html_md.sh b/scripts/preklopeni_dokumentace/html_md.sh
index fb91d57c9..cdb10e39e 100755
--- a/scripts/preklopeni_dokumentace/html_md.sh
+++ b/scripts/preklopeni_dokumentace/html_md.sh
@@ -29,7 +29,7 @@ if [ "$1" = "-c" ]; then
 		# filtering html files
 		echo "$(tput setaf 12)($counter/$count)$(tput setaf 11)$i"; 
 		counter=$((counter+1))
-		printf "$(tput setaf 15)\t\tFiltering html files...\n";
+		printf "\t\tFiltering html files...\n";
 
 		HEAD=$(grep -n -m1 '<h1' "$i" |cut -f1 -d: | tr --delete '\n')
 		END=$(grep -n -m1 '<!-- <div tal:content=' "$i" |cut -f1 -d: | tr --delete '\n')
@@ -39,7 +39,7 @@ if [ "$1" = "-c" ]; then
 		sed '1,'"$((HEAD-1))"'d' "$i" | sed -n -e :a -e '1,'"$DOWN"'!{P;N;D;};N;ba' > "${i%.*}TMP.html"	
 		
 		# converted .html to .md
-		printf "\t\t.html => $(tput setaf 13).md\n$(tput setaf 15)"
+		printf "\t\t.html => .md\n"
 		pandoc -f html -t markdown+pipe_tables-grid_tables "${i%.*}TMP.html" -o "${i%.*}.md"; 
 		
 		rm "${i%.*}TMP.html"
-- 
GitLab