diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-09 23:20:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-09 23:20:49 +1200 |
commit | 7b046454bcd670d03a2a61675a851b9ff1762398 (patch) | |
tree | 5a31518bead22fbd5e0ff6d6ebd925296720fc7b /bin | |
parent | Add slow(1df) and supp(1df) (diff) | |
download | dotfiles-7b046454bcd670d03a2a61675a851b9ff1762398.tar.gz dotfiles-7b046454bcd670d03a2a61675a851b9ff1762398.zip |
Remove unneeded shellcheck skips
Latest version (0.4.4) doesn't raise errors on these lines anymore
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hurl | 2 | ||||
-rwxr-xr-x | bin/spr | 2 | ||||
-rwxr-xr-x | bin/urlc | 1 |
3 files changed, 2 insertions, 3 deletions
@@ -2,7 +2,7 @@ # Extract <a href="..."> URLs from an HTML document or documents # Input is either stdin or the given arguments concatenated -cat -- "${@:-/dev/stdin}" | # shellcheck disable=SC2002 +cat -- "${@:--}" | # Pipe through pup to get all the href links pup -p 'a attr{href}' | @@ -1,4 +1,4 @@ #!/bin/sh # Convenience script for posting to sprunge.us pastebin -cat -- "${@:--}" | # shellcheck disable=SC2002 +cat -- "${@:--}" | curl -F 'sprunge=<-' http://sprunge.us/ @@ -26,7 +26,6 @@ td=$(mktd "$self") || exit list=$td/list head=$td/head body=$td/body # Iterate through input; ignore leading/trailing whitespace -# shellcheck disable=SC2002 cat -- "${@:--}" >"$list" while read -r url ; do |