git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:scripting: Reformat shell scripts
[samba.git]
/
source4
/
scripting
/
devel
/
nmfind
diff --git
a/source4/scripting/devel/nmfind
b/source4/scripting/devel/nmfind
index 54935f213d333fc7de458a5d8b53543144fec68e..865c0d71acff1fc0de066778b164616f0437a16b 100755
(executable)
--- a/
source4/scripting/devel/nmfind
+++ b/
source4/scripting/devel/nmfind
@@
-7,9
+7,9
@@
TARGET=$1
shift
for f in $*; do
-
if nm $f 2>&1 | grep $TARGET >
/dev/null; then
- echo [$f]
- nm $f | grep $TARGET
- echo
-fi
+
if nm $f 2>&1 | grep $TARGET >
/dev/null; then
+
echo [$f]
+
nm $f | grep $TARGET
+
echo
+
fi
done