repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move pstab to td-ps, improve td-gnuplot
[hband-tools.git]
/
crawler-bin
/
huregcheck
blob
705883f2d3abd3c3dc5e7c7a33dcdab8b2323699
1
#!/bin/bash
2
3
set -u
4
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 |\
7
{
8
read
num
9
for
x
in
{
1
..
$num
}
10
do
11
read -r
escaped
12
echo
"
$escaped
"
|
sed
-e
's/
\\
n/
\n
/g; s/
\\\\
/
\\
/g'
13
done
14
}