diff options
Diffstat (limited to 'net/smb4k/files/smb2awk')
-rw-r--r-- | net/smb4k/files/smb2awk | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net/smb4k/files/smb2awk b/net/smb4k/files/smb2awk deleted file mode 100644 index cb8eec48172b..000000000000 --- a/net/smb4k/files/smb2awk +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/awk -f -# AWK part for generating Windows/Samba boxes list in .nsmbrc format -# Incoming - findsmb output, outgoing - NetBIOS names list -# $Id: smb2awk,v 1.2 2003/10/30 09:41:10 shelton Exp $ - -{ - while ((getline nline) > 0) - { - if (substr(nline,1,1) == "-") - { - sig = 1 - continue - } - - if (sig == 0) - continue - else - { - split(nline,narray," ") - - if (narray[2] == "unknown") - next - else - if (index(narray[2],".") != 0) - next - else - print narray[2] - } - } -} |