]> nuage.metani.fr Git - 3GPP.git/commitdiff
Reduced the separator length to 70 characters.
authorDavid Lecompte <3gpp@metani.eu>
Wed, 29 Jul 2026 15:10:23 +0000 (17:10 +0200)
committerDavid Lecompte <3gpp@metani.eu>
Wed, 29 Jul 2026 15:10:23 +0000 (17:10 +0200)
Updated how to check.

awk/txt2asn-integrated.awk
how-to-check.txt

index c71a787224fade135e0f5aa99d8712accdc17918..0f260bff82db18245d6dd3f571515afcf71a1c42 100755 (executable)
@@ -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;
index e2a5d8a26214462a5947e305a0056c22166af020..8d075d6a8affe8921c5a9fb2c9e8f2127daccc80 100644 (file)
@@ -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