I am quite new to bash scripting and I need to write a script that will follow links using curl in order to grab information.
The script parses in standard input from a text file containing:
The script looks like this so far:
while read id
curl -d "p_unit_cd=$id&p_ci_year=$1&cmdSubmit=Search" \
This outputs information which contains links that I need to follow to get more information.
I am unsure how to approach the problem from here. Can anyone help?
Thanks in advance