Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin-shilka « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9abbf230f6bc1456b360bd6549e2243d281d1ea4 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
c="$(basename $1 .shilka).c"
shilka -length -strip -no-definitions $1 && \
sed -e '1,4d' -e '/KR_reset.*;/d' -e '/KR_output_statistics.*;/d' \
    -e '/KR_reset.*)/,/}/d' -e '/KR_output_statistics.*)/,/}/d' \
    -e '/# *line/d' "$c" > $2 &&
rm -f "$c"
#    -e "s%$c"'"%'"$2"'"%g'