1
0
forked from GitHub/gf-core

pre and post HTML templates for all txt2tags conversions

Remaining: cleaning of t2t files (remove unnecessary options)
This commit is contained in:
John J. Camilleri
2018-10-31 15:47:12 +01:00
parent 632cd1e522
commit 7867c8c828
8 changed files with 107 additions and 15 deletions

8
bin/clean_html Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
### This script finds all .t2t (txt2tags) files and deletes the corresponding html file
find . -name '*.t2t' | while read t2t ; do
html="${t2t%.t2t}.html"
rm -f "$html"
done