aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-23 01:11:36 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-23 01:11:54 +1300
commit9643f292bb93557bff249d5b975d3c8a047aa7b6 (patch)
treeeb762bb906a1ff5589c0ff6ab3aa1d73a602b386
parentb7a2ef8e9112302ee8b30becb45df51d5f46f085 (diff)
downloaddotfiles-9643f292bb93557bff249d5b975d3c8a047aa7b6.tar.gz
dotfiles-9643f292bb93557bff249d5b975d3c8a047aa7b6.zip
Change htref(1df) into proper source format
-rw-r--r--.gitignore1
-rw-r--r--Makefile1
-rw-r--r--[-rwxr-xr-x]bin/htref.sed (renamed from bin/htref)1
3 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 8250c055..91f646d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ bin/jfp
bin/han
bin/htdec
bin/htenc
+bin/htref
bin/max
bin/mean
bin/med
diff --git a/Makefile b/Makefile
index 218b79f9..34be0053 100644
--- a/Makefile
+++ b/Makefile
@@ -73,6 +73,7 @@ BINS = bin/brnl \
bin/han \
bin/htdec \
bin/htenc \
+ bin/htref \
bin/jfp \
bin/max \
bin/mean \
diff --git a/bin/htref b/bin/htref.sed
index da089edc..f2e943ca 100755..100644
--- a/bin/htref
+++ b/bin/htref.sed
@@ -1,3 +1,2 @@
-#!/bin/sed -f
# Quick-and-dirty HTML linkifier
s_https*://[^ \t<>]*_<a href="&">&</a>_