txurls - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
txurls (162B)
---
1 #!/bin/sh
2
3 protocols='[a-zA-Z]+://'
4 hostchars='[-a-zA-Z0-9._+]+'
5 pathchars='[-a-zA-Z0-9._+#=?&:;%/!~()]+'
6
7 grep -aPo "${protocols}${hostchars}${pathchars}" | tac