diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:10:52 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:14:17 +1200 |
commit | aa7561f39c247b1c60cdc7d181df86a20b79a220 (patch) | |
tree | 0618bdf93d40ebbb3017136ed4aafcc57fdb4239 | |
parent | Reimplement sra(1) in POSIX sh (diff) | |
download | dotfiles-aa7561f39c247b1c60cdc7d181df86a20b79a220.tar.gz dotfiles-aa7561f39c247b1c60cdc7d181df86a20b79a220.zip |
Tidy shellcheck exceptions
-rwxr-xr-x | bin/hurl | 2 | ||||
-rwxr-xr-x | bin/spr | 2 | ||||
-rwxr-xr-x | bin/urlc | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -14,7 +14,7 @@ LANG=C.UTF-8 export LANG # Emit the content of the args, or stdin -cat -- "${@:-/dev/stdin}" | ## shellcheck disable=SC2002 +cat -- "${@:-/dev/stdin}" | # shellcheck disable=SC2002 # Pipe it through a pup filter to get all the values of the a href elements pup -p 'a attr{href}' | @@ -1,4 +1,4 @@ #!/bin/sh # Convenience script for posting to sprunge.us pastebin -cat -- "${@:-}" | ## shellcheck disable=SC2002 +cat -- "${@:-}" | # shellcheck disable=SC2002 curl -F 'sprunge=<-' http://sprunge.us/ @@ -63,7 +63,7 @@ while read -r url ; do "$self" "$url" "$securl" >&2 ((errc++)) fi -done < <(cat -- "${@:-/dev/stdin}") ## shellcheck disable=SC2002 +done < <(cat -- "${@:-/dev/stdin}") ## shellcheck disable=SC2002 # Exit if any errors exit "$((errc > 0))" |