[PD] [shell] on OSX...

Derek Holzer derek at umatic.nl
Thu Oct 18 19:38:03 CEST 2007


Very cool, thanks to you both!

d.

Roman Haefeli wrote:
> On Thu, 2007-10-18 at 19:15 +0200, IOhannes m zmoelnig wrote:
>> Derek Holzer wrote:
>>> Hi IOhannes,
>>>
>>> IOhannes m zmoelnig wrote:
>>>
>>>> what you are sending to [shell] basically _is_ a shellscript...
>>> Ah, OK, now I see. I've been doing it the way you suggested, and as I 
>>> reported it's painfully slow. Several degrees of ten times slower than 
>>> the same commandline entered into an open terminal. Or even that opening 
>>> a new terminal and then entering the command. I thought maybe there 
>>> would be a way to make it faster.
>> #!/bin/bash
>> netreceive 9999 udp | while read line
> 
> pdreceive 9999 udp | while read line     # there is no 'netreceive' command
> 
>> do
>>  mkdir -p $(echo ${line} | sed -e 's|;$||')
>> done
>>
>> [symbol\
>> |
>> [send /home/derek/test_$1(
>> |
>> [netsend 1]
> 
> yeah, nice example of a server. thanks
> 
> roman
> 
> 
> 
> 
> 	
> 		
> ___________________________________________________________ 
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
> 

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 54:
"Do something sudden, destructive and unpredictable"




More information about the Pd-list mailing list