@ bsdnewbie999: Sorry if my post seemed too cryptic; maybe it's a language problem.
My suggestion was to replace this
Code:
echo $(tcpdump -r $ANSWER -o -ttt -vv -e -n) > $OUTPUT
with this:
Code:
tcpdump -r $ANSWER -o -ttt -vv -e -n > $OUTPUT
I hope that works for ya.