Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2010-06-27 09:32:10 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2010-06-27 09:32:10 +0000
commit9b73b5c61845666e52a4c8f0af9ca5380f6d7357 (patch)
treecea480a557c50e40bc85420ebdb4369fa0df56fc /openbsd
parentc32716ce985e445a09f301aea5ca5362e2dd5f36 (diff)
[OpenBSD-denyhost] Fix syntax error.
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@810 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/denyhost.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/denyhost.sh b/openbsd/denyhost.sh
index 9dacf15..52793a5 100755
--- a/openbsd/denyhost.sh
+++ b/openbsd/denyhost.sh
@@ -91,7 +91,7 @@ EOF
rm -f $HOST_FILE $WHOIS_FILE $LOGIN_FILE
}
-function extract_email()
+function extract_email
{
grep -v changed $1 | gsed -n "s/.*[^-+\._A-Za-z0-9]\([-+\._A-Za-z0-9]\+@\([-A-Za-z0-9]\+\.\)\+[A-Za-z]\+\).*/\1/p" | \
gsed "/whois-contact@lacnic.net/d; \