aboutsummaryrefslogtreecommitdiff
path: root/src/strip_objects
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2002-10-09 10:19:04 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2002-10-09 10:19:04 +0000
commitd2eec74a4d8c21aad495ba61539486b24d7ab8dc (patch)
tree8340a62efe3eb1d42dc40265723c2704d3bd6452 /src/strip_objects
moved from zexy/zexy to zexysvn2git-root
svn path=/trunk/externals/zexy/; revision=169
Diffstat (limited to 'src/strip_objects')
-rwxr-xr-xsrc/strip_objects8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/strip_objects b/src/strip_objects
new file mode 100755
index 0000000..3e99132
--- /dev/null
+++ b/src/strip_objects
@@ -0,0 +1,8 @@
+#!/bin/sh
+TMPFILE=/tmp/pdobjects
+touch $TMPFILE
+rm $TMPFILE
+grep --no-filename class_new *.c | awk '{print $3}' >> $TMPFILE
+for i in `cat $TMPFILE`; do i=${i##class_new(gensym(\"}; i=${i%%\"),}; echo $i ; done
+touch $TMPFILE
+rm $TMPFILE