diff server/python/extr.sh @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/python/extr.sh	Tue Aug 17 11:19:54 2021 +0200
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+rm final.txt
+
+# 18 - 30 breakfast
+# 33 - 75 soups
+# 83 - 109 - main dishes
+# 112 - 121 - sides
+# 130 - 144 - desserts
+
+for i in $(seq 130 144);
+do
+  echo $i
+  pdftk book-eng.pdf cat $i output out-"$i".pdf
+  pdftotext out-"$i".pdf
+  cat out-"$i".txt >> final.txt
+done 
+
+# python3 tmod.py final.txt
\ No newline at end of file