diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-05 12:01:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-05 12:01:48 +1200 |
commit | 8c622ca5cb2f1bd7db593d629b617a86fff0eabb (patch) | |
tree | 28f03f97bc8f4fba500d0777d67b4faa051317c2 /bin | |
parent | Pretend to be Mozilla in urlc(1) (diff) | |
download | dotfiles-8c622ca5cb2f1bd7db593d629b617a86fff0eabb.tar.gz dotfiles-8c622ca5cb2f1bd7db593d629b617a86fff0eabb.zip |
Downgrade hurl(1) to a simple /bin/sh script
Not worth the extra dependency just for slightly nicer command presence
checking
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hurl | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh # # Extract <a href="..."> URLs from an HTML document or documents. @@ -12,9 +12,6 @@ LANG=C.UTF-8 export LANG -# Check we have the programs we need -hash pup || exit - # Emit the content of the args, or stdin cat -- "${@:-/dev/stdin}" | ## shellcheck disable=SC2002 |