commit 7925dd5929d8ec4bf57c13ea20678df96ce55e0a
parent c088bb01d519b0981c2c91e87e41bda403db5d02
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 12 Apr 2019 16:11:09 +0200
Only show http* references in open-bookmark dialog
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/open-bookmark.sh b/bin/open-bookmark.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
url=$((cat ~/.w3m/bookmark.html | \
- grep href | \
+ grep 'href="htt' | \
sed 's/<\/.*>//g' | \
sed 's/.*<a href="//;s/">/ /;s/<\/a>//' ;
cat ~/doc/bookmark.txt) | \