aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-04 21:09:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-04 21:09:04 +1200
commit4e1b8177a115aa20841a4a197c91806c375b7b9b (patch)
tree677ee25f60f50138a51db2da7601d8ba483ab8f7 /bin
parentRemove apostrophes from comments in subshells (diff)
downloaddotfiles-4e1b8177a115aa20841a4a197c91806c375b7b9b.tar.gz
dotfiles-4e1b8177a115aa20841a4a197c91806c375b7b9b.zip
Ignore a false positive from shellcheck(1)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/xgo1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/xgo b/bin/xgo
index e450a5fb..fc6dbe32 100755
--- a/bin/xgo
+++ b/bin/xgo
@@ -19,6 +19,7 @@ for url ; do (
# Dig out the plain text for pastebin.com links
*://pastebin.com/*)
+ # shellcheck disable=SC2016
url=$(printf '%s\n' "$url" | sed 's_/[A-Za-z0-9][A-Za-z0-9]*$_/raw&_')
;;