[PD] PDA PD + GPS

Nick Morrison nickm at internode.com.au
Thu Feb 12 00:50:17 CET 2004


On Thu, 2004-02-12 at 10:11, Nick Morrison wrote:
> #!/bin/sh
> echo "x;" | nc localhost 2947 | nc localhost 3002 &
> sleep 0.1
> killall -9 nc
> 
> The 'killall -9' at the end is a bit evil...

Ah.  If your /bin/sh is a real sh shell, you could try:

kill `jobs -ls`

... instead of the killall line.  Note that they are backticks (` and
not ').


Nick

-- 
Nick Morrison <nickm at internode.com.au>
Network Operations Group, Internode

Proud to be the major sponsor of the Adelaide Fringe





More information about the Pd-list mailing list