diff options
-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))" |