mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 13:09:33 -06:00
11 lines
270 B
Bash
Executable File
11 lines
270 B
Bash
Executable File
#!/bin/bash
|
|
|
|
### This script finds all .t2t (txt2tags) files and updates the corresponding
|
|
### .html file, if it is out-of-date.
|
|
|
|
find . -name '*.t2t' | while read t2t ; do
|
|
html="${t2t%.t2t}.html"
|
|
if [ "$t2t" -nt "$html" ] ; then
|
|
txt2tags -thtml "$t2t"
|
|
fi
|
|
done |