3 echo "/* This script-generated file contains the PostScript prologues" > output
4 echo " * in a form suitable to inclusion in a C source code */" >> output
7 for i in `ls -1 *.ps | LC_ALL=C sort`; do
9 name=`sed -e 's/\.ps/_ps/g' -e 's/-/_/g' temp`
11 echo "static const char *prologue_$name[] = {" >> output
12 sed -e 's/"/\\"/g' -e 's/^/\"/g' -e 's/\t/\\t/g' -e 's/$/\\n\",/g' $i >> output