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: 433d9b5df67448c106692040bb828c6b4e2fe6fe (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'