From: David Lecompte <3gpp@metani.eu> Date: Fri, 31 Jul 2026 09:22:00 +0000 (+0200) Subject: 38331-convert.sh now does all the processing X-Git-Url: https://nuage.metani.fr/gitweb/3GPP.git/commitdiff_plain/60f412d7df17508c78c77f948163ae22f21c35b3 38331-convert.sh now does all the processing awk files are move to bin --- diff --git a/bin/38331-convert.sh b/bin/38331-convert.sh index ead1859..cadce64 100755 --- a/bin/38331-convert.sh +++ b/bin/38331-convert.sh @@ -60,6 +60,9 @@ else 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" + + iconv -f UTF-8 -t ASCII//TRANSLIT "${1%.docx}.txt" > "${1%.docx}.ascii" + mv "${1%.docx}.ascii" "${1%.docx}.txt" fi cat "${1%.docx}.txt" | awk '/^-- ASN1START$/,/^-- ASN1STOP$/' | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/'| sed -e 's/--.*$//g' > "${1%.docx}.asncheck" @@ -80,6 +83,7 @@ if [[ "$compare1" ]] ; then echo " diff -b -B by-IE/${1%.docx}.asncheck ${1%.docx}.asncheck" else rm "${1%.docx}.asncheck" + asn1-split.awk "${1%.docx}.asn" fi cd .. @@ -94,6 +98,7 @@ if [[ "$compare2" ]] ; then echo " diff -b -B before-field/${1%.docx}.asncheck ${1%.docx}.asncheck" else rm "${1%.docx}.asncheck" + asn1-split.awk "${1%.docx}.asn" fi cd .. diff --git a/awk/asn1-split.awk b/bin/asn1-split.awk similarity index 100% rename from awk/asn1-split.awk rename to bin/asn1-split.awk diff --git a/awk/txt2asn-integrated.awk b/bin/txt2asn-integrated.awk similarity index 100% rename from awk/txt2asn-integrated.awk rename to bin/txt2asn-integrated.awk diff --git a/awk/txt2asn.awk b/bin/txt2asn.awk similarity index 100% rename from awk/txt2asn.awk rename to bin/txt2asn.awk