wget or curl from stdin
What you need to use is xargs. E.g.
tail -f 1.log | xargs -n1 wget -O - -q
Use xargs
which converts stdin to argument.
tail 1.log | xargs -L 1 wget
What you need to use is xargs. E.g.
tail -f 1.log | xargs -n1 wget -O - -q
Use xargs
which converts stdin to argument.
tail 1.log | xargs -L 1 wget