curl https://eblong.com/infocom/ | grep href | grep -v http | cut -d '"' -f2 | awk '{print "curl -O https://eblong.com/infocom/" $0}' | bash -x curl https://eblong.com/infocom/ | grep href | grep -v http | cut -d '"' -f2 | awk '{print "curl -O https://eblong.com/infocom/" $0}' | bash -xI usually do these sorts of things in a loop, sometimes like:
<something> | while read f
do
sleep 10
<do-something-with> "$f"
doneI usually use this:
<something> | tr '\n' '\000' | xargs -0 -n1 command
The tr will convert newlines to nulls. Otherwise you need to change the IFS.Just commenting because this was a bugbear of mine when getting started in bash.