]> git.nbdom.net Git - nb.git/commitdiff
update
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 14 May 2023 21:48:38 +0000 (23:48 +0200)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 14 May 2023 21:48:38 +0000 (23:48 +0200)
lib/postgres/css_entity.sh

index 83611c28f1c7f30b2360176c66ec2aaa7185acd9..3d7a46068bf19c264318b423521167e3488692df 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash -l
 #(chr,entity,name)
-http_get https://www.w3schools.com/cssref/css_entities.asp | \
-xmllint --html --xpath "/html/body//div[@id=\"main\"]//table" - 2>/dev/null | \
+http_get https://www.w3schools.com/cssref/css_entities.php | \
+xmllint --html --xpath '/html/body//div[@id="main"]//table' - 2>/dev/null | \
 xml2csv - | \
 tail -n+2 | \
 sed -E "s,(\\\\),\1\1," \