aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-04 10:43:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-04 10:44:03 +1200
commita150718e3ad2c5b7d4cfd351e97d968f32151abb (patch)
treefb6236f37514481d29787da6e82ad4279f1f2d02
parentLet aaf(6) commands fail explicitly (diff)
downloaddotfiles-a150718e3ad2c5b7d4cfd351e97d968f32151abb.tar.gz
dotfiles-a150718e3ad2c5b7d4cfd351e97d968f32151abb.zip
Use -p opt to pup in hurl(1) for entity decoding
-rwxr-xr-xbin/hurl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hurl b/bin/hurl
index 23dc7dcc..eedb708a 100755
--- a/bin/hurl
+++ b/bin/hurl
@@ -19,7 +19,7 @@ hash pup || exit
cat -- "${@:-/dev/stdin}" | ## shellcheck disable=SC2002
# Pipe it through a pup filter to get all the values of the a href elements
-pup 'a attr{href}' |
+pup -p 'a attr{href}' |
# Sort it uniquely
sort | uniq