From: David Lecompte <3gpp@metani.eu> Date: Fri, 24 Jul 2026 14:46:59 +0000 (+0200) Subject: Add description of commands used to check that the ASN.1 in generated files is exactl... X-Git-Url: https://nuage.metani.fr/gitweb/3GPP.git/commitdiff_plain/bb2225409090ddd8830b29498b03f84959b1ed83?ds=sidebyside;hp=6996355fa2bf7ca16ca2a8c0b0881c26c491e577 Add description of commands used to check that the ASN.1 in generated files is exactly the whole ASN.1 in the original text file. --- diff --git a/how-to-check.txt b/how-to-check.txt new file mode 100644 index 0000000..e2a5d8a --- /dev/null +++ b/how-to-check.txt @@ -0,0 +1,6 @@ +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