Hi,
I have problems with netcat of a big lscp file (~250 lines).
Sometimes happens that the loading stops before the end. It seems that 
netcat is too fast.
So I wrote this bash script that introduces some latency between every 
line that is sent to LS:

#!/bin/sh
while read line
do
     if [ "$( echo "${line}" | head -c 1)" != "#" ]
     then
         echo "${line}" | netcat -q 0.01 localhost 8888 &
         sleep 0.1
     fi
done < $1


-- 
Nicola
http://nicolapandini.damai.it


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to