move pstab to td-ps, improve td-gnuplot
[hband-tools.git] / crawler-bin / huregcheck
blob705883f2d3abd3c3dc5e7c7a33dcdab8b2323699
1 #!/bin/bash
3 set -u
5 curl -sS "https://info.domain.hu/webregcheck/hu" -d "domain=${1?domain in question}&ns=${2?nameserver or empty}&dnssec=1" |\
6 parsel @main / @pre ::text |\
8 read num
9 for x in {1..$num}
11 read -r escaped
12 echo "$escaped" | sed -e 's/\\n/\n/g; s/\\\\/\\/g'
13 done