cat "${1%.docx}.asn" | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/'| sed -e 's/--.*$//g' > "${1%.docx}.asncheck"
compare1=$(diff -b -B "../${1%.docx}.asncheck" "${1%.docx}.asncheck")
if [[ "$compare1" ]] ; then
cat "${1%.docx}.asn" | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/'| sed -e 's/--.*$//g' > "${1%.docx}.asncheck"
compare1=$(diff -b -B "../${1%.docx}.asncheck" "${1%.docx}.asncheck")
if [[ "$compare1" ]] ; then
cat "${1%.docx}.asn" | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/'| sed -e 's/--.*$//g' > "${1%.docx}.asncheck"
compare2=$(diff -b -B "../${1%.docx}.asncheck" "${1%.docx}.asncheck")
if [[ "$compare2" ]] ; then
cat "${1%.docx}.asn" | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/'| sed -e 's/--.*$//g' > "${1%.docx}.asncheck"
compare2=$(diff -b -B "../${1%.docx}.asncheck" "${1%.docx}.asncheck")
if [[ "$compare2" ]] ; then