diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-16 14:15:45 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-16 14:15:45 +1300 |
commit | 08c5dec9b628088a00fc4b5d1a21a3767ce2ba9f (patch) | |
tree | 97dae39546157512acb2e05c17612f2a66849a45 /bin/shoal | |
parent | Ditch Awk version of shoal(1) for pure Bash (diff) | |
download | dotfiles-08c5dec9b628088a00fc4b5d1a21a3767ce2ba9f.tar.gz dotfiles-08c5dec9b628088a00fc4b5d1a21a3767ce2ba9f.zip |
Consistent preambles for binscripts
Diffstat (limited to 'bin/shoal')
-rwxr-xr-x | bin/shoal | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,10 @@ # Copyright: 2014 # License: Public domain # + +# Name self +self=shoal + while read -r option value _ ; do if [[ $option == 'Host' && $value != *[^[:alnum:]_-]* ]] ; then printf '%s\n' "$value" |