fix some output formatting
authorGerald Carter <jerry@samba.org>
Fri, 5 Sep 2003 13:25:49 +0000 (13:25 +0000)
committerGerald Carter <jerry@samba.org>
Fri, 5 Sep 2003 13:25:49 +0000 (13:25 +0000)
(This used to be commit 0283b0152e4cbe3d26b305ab9867e2b0765addfe)

source3/script/findsmb.in

index 64215918d1783bd389277a16215a1627396526e3..fb06018fe5c47bb1836809cad95dab8272bcd8d5 100755 (executable)
@@ -90,6 +90,7 @@ foreach $ip (@ipaddrs)                # loop through each IP address found
                        # names starting or ending with spaces
                        /(.{1,15})\s+<00>\s+/;
                        $name = $1;
+                       $name =~ s/^\s+//g;
                }
 
                # do an smbclient command on the netbios name.