You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
337 B
26 lines
337 B
NM=$1
|
|
|
|
shift
|
|
|
|
PREFIX=$1
|
|
|
|
shift
|
|
|
|
SUFFIX=$1
|
|
|
|
shift
|
|
|
|
while test "$1" != ""
|
|
do
|
|
$NM -g -fp $1 | while read -a line
|
|
do
|
|
type=${line[1]}
|
|
# if [[ "$type" != "V" && "$type" != "U" ]]; then
|
|
#if [[ "$type" != "W" && "$type" != "V" && "$type" != "U" ]]; then
|
|
echo "$PREFIX${line[0]}$SUFFIX # ${line[1]}"
|
|
#fi
|
|
done
|
|
|
|
shift
|
|
done
|