aboutsummaryrefslogtreecommitdiff
path: root/src/strip_objects
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2003-06-18 14:02:52 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2003-06-18 14:02:52 +0000
commit26274c544daed6b2f84f4976072d10e397e186ca (patch)
treefc1161044090abcaab49be2c2a3847062b1a721e /src/strip_objects
parent2756dfad4b08b8b14fcb1e3193f594dcbb4cca7b (diff)
sort and unique the found objects
svn path=/trunk/externals/zexy/; revision=715
Diffstat (limited to 'src/strip_objects')
-rwxr-xr-xsrc/strip_objects2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strip_objects b/src/strip_objects
index 3e99132..2973825 100755
--- a/src/strip_objects
+++ b/src/strip_objects
@@ -3,6 +3,6 @@ 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
+for i in `cat $TMPFILE`; do i=${i##class_new(gensym(\"}; i=${i%%\"),}; echo $i ; done | sort -u
touch $TMPFILE
rm $TMPFILE