Skip to content

Instantly share code, notes, and snippets.

@appanp-tjs
appanp-tjs / process_md_terms.md
Last active September 28, 2024 18:46
Supply Chain - Standards, Terminology, Interfaces & Vendors

Run the gawk script provided below to get the following stats from the supply_chain_terminology.md file using the command awk -f process_md_terms.awk supply_chain_terminology.md:

BEGIN {
    RS="\n\\*\\*";
    term_cnt=0;
    url_cnt=0;
    } 
!/For more info/ {
 if(!/Also known as/) {