git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
efa67d6
)
strip out extra spaces from smbclient output that were added recently
author
Herb Lewis
<herb@samba.org>
Tue, 11 Aug 1998 17:34:00 +0000
(17:34 +0000)
committer
Herb Lewis
<herb@samba.org>
Tue, 11 Aug 1998 17:34:00 +0000
(17:34 +0000)
packaging/SGI/findsmb
patch
|
blob
|
history
diff --git
a/packaging/SGI/findsmb
b/packaging/SGI/findsmb
index 4cb3c80a428e2e6e5bbcfbbff426b0e5f5528b2a..c10efbf22a73026f6c5f778ad5cbe0005a0a81bd 100755
(executable)
--- a/
packaging/SGI/findsmb
+++ b/
packaging/SGI/findsmb
@@
-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)