commit ad36d54de1f530673f90ddff7a78d0ce0c86286d
parent 553aec962a7406e4a3407313e3372de3a38c4fa9
Author: Miles Alan <m@milesalan.com>
Date: Thu, 8 Aug 2019 17:14:06 -0500
[surf][patch] externalpipe: Fix bug with surf_linkselect.sh script
Allows links split over multiple lines to be rendered properly in script.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/surf.suckless.org/patches/externalpipe/surf_linkselect.sh b/surf.suckless.org/patches/externalpipe/surf_linkselect.sh
@@ -63,7 +63,7 @@ function link_normalize() {
}
function link_select() {
- tr -d '\n\r' |
+ tr '\n\r' ' ' |
xmllint --html --xpath "//a" - |
dump_links_with_titles |
awk '!x[$0]++' |