aboutsummaryrefslogtreecommitdiff
path: root/bin/hurl
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-04-05 20:06:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-04-05 20:46:47 +1200
commitc8ab406749124d2e762ad5cf53963070113afd0f (patch)
tree54c9721a06957ebe7098a211eea803b0230c0f5d /bin/hurl
parentHandle POSIX correctness in ~/.bash_profile (diff)
downloaddotfiles-c8ab406749124d2e762ad5cf53963070113afd0f.tar.gz
dotfiles-c8ab406749124d2e762ad5cf53963070113afd0f.zip
Apply runtime shebanging to POSIX shell
Diffstat (limited to 'bin/hurl')
-rwxr-xr-xbin/hurl11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/hurl b/bin/hurl
deleted file mode 100755
index 16ea48f8..00000000
--- a/bin/hurl
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# Extract <a href="..."> URLs from an HTML document or documents
-
-# Input is either stdin or the given arguments concatenated
-cat -- "${@:--}" |
-
-# Pipe through pup to get all the href links
-pup -p 'a attr{href}' |
-
-# Sort them uniquely
-sort | uniq