aboutsummaryrefslogtreecommitdiff
path: root/src/strip_objects
diff options
context:
space:
mode:
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