From 479a8ead4ca45857134e678e7855ce46758025a5 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 1 Jun 2023 00:19:49 +0200 Subject: [PATCH] check link exists --- lib/postgres/css_reference.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}' \ -- 2.47.3