diff options
Diffstat (limited to 'src/strip_objects')
-rwxr-xr-x | src/strip_objects | 8 |
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 |