]> nuage.metani.fr Git - 3GPP.git/blobdiff - bin/docx2asn.sh
Add command to set git proxy to windows system proxy
[3GPP.git] / bin / docx2asn.sh
index 8a09bb5cdee972128ed03c9118ab1489c493a5b7..89bb19f1d4a3f3157a94ffea9155947fa690782d 100755 (executable)
@@ -57,7 +57,13 @@ while [ "$#" -gt 0 ]; do
            CYGWIN*) LC_ALL=C sed -i $'s/^\x96/-/g; s/\r$//' "${1%.docx}.txt" ;;
            *) echo "Unkown platform $platform"
               exit 1;;
-       esac    
+       esac
+
+       # Changes things that should not be so in the specification
+       # Change "-- Cond N3C MP" to "-- Cond N3C-MP" (to respect condition naming rules)
+       LC_ALL=C sed -i 's/-- Cond N3C MP/-- Cond N3C-MP/' "${1%.docx}.txt"
+       LC_ALL=C sed -i 's/^N3C MP/N3C-MP/' "${1%.docx}.txt"
+       LC_ALL=C sed -i 's/-- Cond HOAndServCellAdd,$/-- Cond HOAndServCellAdd/' "${1%.docx}.txt"
     fi
 
     if [[ -e "${1%.docx}.asn" ]] ; then