strip out extra spaces from smbclient output that were added recently
authorHerb Lewis <herb@samba.org>
Tue, 11 Aug 1998 17:34:00 +0000 (17:34 +0000)
committerHerb Lewis <herb@samba.org>
Tue, 11 Aug 1998 17:34:00 +0000 (17:34 +0000)
(This used to be commit 5f5562ff601b69c3f7629fa57ddd621e201c5806)

packaging/SGI/findsmb

index 4cb3c80a428e2e6e5bbcfbbff426b0e5f5528b2a..c10efbf22a73026f6c5f778ad5cbe0005a0a81bd 100755 (executable)
@@ -95,7 +95,7 @@ foreach $ip (@ipaddrs)                # loop through each IP address found
     @info = grep(/OS=/,@smb);
     $_ = @info[0];
     if ($_) {                          # we found response
-      s/Domain=|OS=|Server=|\n//g;     # strip out descriptions to make line shorter
+      s/.*Domain=|OS=|Server=|\n//g;   # strip out descriptions to make line shorter
 
     } else {                           # no OS= string in response (WIN95 client)