7 lines
128 B
Bash
7 lines
128 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
inputfile="$1"
|
||
|
outputfile="$2"
|
||
|
|
||
|
nm "$inputfile" | grep '[DR] _\?unit_test_'|sed 's/.\+ [DR] _\?//' > "$outputfile"
|