From: David Lecompte <3gpp@metani.eu> Date: Wed, 29 Jul 2026 15:10:23 +0000 (+0200) Subject: Reduced the separator length to 70 characters. X-Git-Url: https://nuage.metani.fr/gitweb/3GPP.git/commitdiff_plain/be0799272ac0e49ed50abcf3b42868f00c6a6ce7?ds=inline Reduced the separator length to 70 characters. Updated how to check. --- diff --git a/awk/txt2asn-integrated.awk b/awk/txt2asn-integrated.awk index c71a787..0f260bf 100755 --- a/awk/txt2asn-integrated.awk +++ b/awk/txt2asn-integrated.awk @@ -132,12 +132,12 @@ BEGIN { separator = "" ; wide_separator = "" ; - for(i=0;i<=140;i++) { + for(i=0;i<=70;i++) { wide_separator = wide_separator "-" ; } ie_separator = "-- " ; - for (i=0;i<=137;i++) { + for (i=0;i<=70;i++) { ie_separator = ie_separator "=" ; } @@ -289,7 +289,7 @@ BEGIN { separator = "" ; $0 = "Conditional presence" ; - for(i=0;i<=140;i++) { + for(i=0;i<=70;i++) { separator = separator "-" ; } # print separator; @@ -305,7 +305,7 @@ BEGIN { add_line_after = ""; separator = "" ; - for(i=0;i<=140;i++) { + for(i=0;i<=70;i++) { separator = separator "-" ; } # print separator; diff --git a/how-to-check.txt b/how-to-check.txt index e2a5d8a..8d075d6 100644 --- a/how-to-check.txt +++ b/how-to-check.txt @@ -1,6 +1,11 @@ +awk '/^-- ASN1START/,/^-- ASN1STOP/' < 38331-i00.txt | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/' > 38331-i00-reference.asn +awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/' 38331-i00-descriptions-grouped-by-IE.asn > 38331-i00-descriptions-grouped-by-IE.check.asn +diff -B -b 38331-i00-descriptions-grouped-by-IE.check.asn 38331-i00-reference.asn + awk '!/^--/ && !/^[:space:]*$/' 38331-j30.asn > reference.asn cat reference.asn | sed -e 's/--.*$//g' > reference-integrated.asn awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/' 38331-j30-descriptions-with-fields.asn | sed -e 's/--.*$//g' > check-integrated.asn diff -b -B check-integrated.asn reference-integrated.asn |less awk '!/^[:space:]*--/ && !/^[:space:]*$/' 38331-j20-descriptions-with-fields.asn > check-afer-asn.asn diff check-afer-asn.asn reference.asn |less +awk '/^-- ASN1START/,/^-- ASN1STOP/' < 38331-i00.txt | awk '!/^--/ && !/^[:space:]*$/' > reference.asn