linkgrabber.sh - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
linkgrabber.sh (179B)
---
1 #!/bin/sh
2 regex='(((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]'
3 url=$(grep -Po "$regex" | dmenu -p "Go:" -w "$WINDOWID") || exit
4 $BROWSER "$url"