aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-21 15:13:25 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-21 15:13:25 +1300
commit725caed4088358a7ebea4a9e855665ee8e1c84db (patch)
tree93cfd01030ca84dcfc876fc7567bd2d7b86e481f /bin
parentRevert "Color ed(1) prompt if possible" (diff)
downloaddotfiles-725caed4088358a7ebea4a9e855665ee8e1c84db.tar.gz
dotfiles-725caed4088358a7ebea4a9e855665ee8e1c84db.zip
Add htref(1df)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/htref3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/htref b/bin/htref
new file mode 100755
index 00000000..da089edc
--- /dev/null
+++ b/bin/htref
@@ -0,0 +1,3 @@
+#!/bin/sed -f
+# Quick-and-dirty HTML linkifier
+s_https*://[^ \t<>]*_<a href="&">&</a>_