From: Nicolas Boisselier Date: Wed, 31 May 2023 22:19:49 +0000 (+0200) Subject: check link exists X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=479a8ead4ca45857134e678e7855ce46758025a5;p=nb.git check link exists --- diff --git a/lib/postgres/css_reference.sh b/lib/postgres/css_reference.sh index bbcd89b1..ad73d4cf 100755 --- a/lib/postgres/css_reference.sh +++ b/lib/postgres/css_reference.sh @@ -4,5 +4,5 @@ xmllint --html --xpath '/html/body//div[@id="cssproperties"]//table' - 2>/dev/nu perl -pe 's|]*>([^<]+)|https://www.w3schools.com/cssref/$1$2|' | \ html2csv | \ sed -E "s,(\\\\),\1\1," | \ -awk 'BEGIN{FS="\t"}{print $2"\t"$3"\t"$1}' \ +awk 'BEGIN{FS="\t"} /www\.w3schools\.com/ {print $2"\t"$3"\t"$1}' \