I see the output file that comes with:
curl http:
However, when I try to execute a loop and work with it as follows:
curl -s http://asia.dabase.com:4000 | while read line; do echo $line; done
It doesn't print anything. :(
The previous answer suggests CURLOPT_WRITEFUNCTION , although I do not see how this is done from a routine man page.
source share