aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-10-16 14:18:34 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-10-16 14:18:34 +1300
commitd79fefc87540ea5364571f8b2d5d89fbdd2349a1 (patch)
tree84c36e6af20395b71bd3de25ebb0e07610ff691e /bin
parentConsistent preambles for binscripts (diff)
downloaddotfiles-d79fefc87540ea5364571f8b2d5d89fbdd2349a1.tar.gz
dotfiles-d79fefc87540ea5364571f8b2d5d89fbdd2349a1.zip
Accept . in shoal(1) hostnames
Diffstat (limited to 'bin')
-rwxr-xr-xbin/shoal2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/shoal b/bin/shoal
index d2ecfc95..9fad9454 100755
--- a/bin/shoal
+++ b/bin/shoal
@@ -13,7 +13,7 @@
self=shoal
while read -r option value _ ; do
- if [[ $option == 'Host' && $value != *[^[:alnum:]_-]* ]] ; then
+ if [[ $option == 'Host' && $value != *[^[:alnum:]._-]* ]] ; then
printf '%s\n' "$value"
fi
done < "${1:-$HOME/.ssh/config}"