diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-06 00:40:01 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-06 00:40:01 +0000 |
commit | 68df706e930f1ce42ea12c2397e8223c4e58513a (patch) | |
tree | b019e64afb194225ed01685869c52b5e466561c0 | |
parent | 0f1c7a27a11c098cacbb926fd8963471042ca98e (diff) |
removed this script since its totally replaced by the python version
svn path=/trunk/; revision=11692
-rwxr-xr-x | scripts/load_every_help.sh | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/scripts/load_every_help.sh b/scripts/load_every_help.sh deleted file mode 100755 index ac20d671..00000000 --- a/scripts/load_every_help.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh - -PD_ROOT=$1 -NETRECEIVE_PATCH=/tmp/.____pd_netreceive____.pd -PORT_NUMBER=55555 -LOG_FILE=/tmp/load_every_help-log-`date +20%y-%m-%d_%H.%M.%S`.txt - -helpdir=${PD_ROOT}/doc -bindir=${PD_ROOT}/bin - -make_netreceive_patch () -{ - test -f $1 && rm $1 - touch $1 - echo '#N canvas 222 130 454 304 10;' >> $1 - echo "#X obj 111 83 netreceive $PORT_NUMBER 0 old;" >> $1 - echo "#X obj 111 103 loadbang;" >> $1 - echo "#X obj 111 123 print ----;" >> $1 - echo "#X connect 1 0 2 0;" >> $1 -} - -open_patch () -{ - echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" >> $LOG_FILE - echo "OPENING: $1 $2" >> $LOG_FILE - echo "; pd open $1 $2;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp -} - -close_patch () -{ -# echo "CLOSING: $1" >> $LOG_FILE - echo "; pd-$1 menuclose;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp - echo "________________________________________________________________________________" >> $LOG_FILE -} - -launch_pd () -{ - ${bindir}/pd -nogui -stderr -open $NETRECEIVE_PATCH >> $LOG_FILE 2>&1 & -} - -quit_pd () -{ - echo "; pd quit;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp -} - -make_netreceive_patch $NETRECEIVE_PATCH - -touch $LOG_FILE - -for file in `find $helpdir -name '*.pd'`; do - filename=`echo $file|sed 's|.*/\(.*\.pd\)$|\1|'` - dir=`echo $file|sed 's|\(.*\)/.*\.pd$|\1|'` - sleep 1 - launch_pd - sleep 10 - open_patch $filename $dir - sleep 1 - close_patch $filename - sleep 1 - quit_pd -done - -echo "COMPLETED!" >> $LOG_FILE -echo "; pd quit;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp |