11 lines
163 B
Bash
11 lines
163 B
Bash
|
#!/bin/bash
|
||
|
for file in $1*/**/*
|
||
|
do
|
||
|
if [[ "$file" != *.a ]] ;then
|
||
|
echo $file
|
||
|
./ft_nm $2 $file 2>&1 | cat > a
|
||
|
nm $2 $file 2>&1 | cat > b
|
||
|
diff a b
|
||
|
fi
|
||
|
done
|