Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- URL='http://www.ogyei.gov.hu'
- URL2='gyogyszeradatbazis'
- REG_NUMBER=$1
- rm ah_* >/dev/null 2>&1
- wget -qO- "$URL/$URL2/index.php?action=process®istration_number=$REG_NUMBER" | tr -d '\r' | grep show_details | sed 's/.*href="\([^"]*\).*/\1/g' | xargs -n1 echo "$URL" | tr -d " " | xargs -n1 wget -qO- |grep ah_ | sed 's/.*href="\([^"]*\).*/\1/g' | xargs -n1 -I$ bash -c 'echo Letoltes: $ ...; wget -q $'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement