Add comment support on url list

This commit is contained in:
adrien 2019-04-16 16:10:14 +02:00
parent 0a2170183f
commit 9ce8dc62b5
2 changed files with 3 additions and 0 deletions

View File

@ -1 +1,2 @@
#HTTP_status_codes:URL[:PORT]
301:https://google.com:443

View File

@ -4,6 +4,8 @@ time=60
cerebro () {
while read line ; do
[ "${line:0:1}" == "#" ] && continue
url=${line#*:}
status=${line%%:*}