Add support for .txt files
This commit is contained in:
parent
5cf2236cdd
commit
0624bf8723
@ -95,6 +95,10 @@ fn genbody {
|
||||
}
|
||||
if not if ( test -f $body.tpl )
|
||||
template.awk $body.tpl | rc $rcargs
|
||||
if not if ( test -f $body.txt )
|
||||
echo '<pre>'
|
||||
cat $body.txt |fmt -j| sed 's/\</>/' 's/\>/</'
|
||||
echo '</pre>'
|
||||
if not if ( test -f $body.html )
|
||||
cat $body.html | /bin/sed '0,/<[Bb][Oo][Dd][Yy][^>]*>/d; /<\/[Bb][Oo][Dd][Yy]>/,$d'
|
||||
if not if (~ $body *.html && test -f $body )
|
||||
|
Loading…
Reference in New Issue
Block a user