Distribute `ttfautohint-scripts.h' and `ttfautohint-coverages.h' also.
[ttfautohint.git] / doc / strip-comments.sh
blob4c539491bc6a7279eb670517853233359f3e4af7
1 #! /bin/sh
3 # strip-comments.sh <file1> <file2> ... > result
5 # This simple script strips off all HTML comments except in the first file.
7 cat $1
9 shift
11 while [ $# -gt 0 ]; do
12 cat $1 \
13 | sed -e '/<!--.*-->/d' \
14 -e '/<!--/,/-->/d'
15 shift
16 done
18 # eof