From 7b046454bcd670d03a2a61675a851b9ff1762398 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 9 Sep 2016 23:20:49 +1200 Subject: Remove unneeded shellcheck skips Latest version (0.4.4) doesn't raise errors on these lines anymore --- bin/hurl | 2 +- bin/spr | 2 +- bin/urlc | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/hurl b/bin/hurl index dcc0fd73..16ea48f8 100755 --- a/bin/hurl +++ b/bin/hurl @@ -2,7 +2,7 @@ # Extract 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}' | diff --git a/bin/spr b/bin/spr index 5fc111e6..8ac846a6 100755 --- a/bin/spr +++ b/bin/spr @@ -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/ diff --git a/bin/urlc b/bin/urlc index e306d48f..0998ad4d 100755 --- a/bin/urlc +++ b/bin/urlc @@ -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 -- cgit v1.2.3