Sujet : {} Questions
De : porkchop (at) *nospam* invalid.foo (Mike Sanders)
Groupes : comp.lang.awkDate : 21. Aug 2024, 06:35:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <va3ua5$3ohv3$2@dont-email.me>
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (NetBSD/9.3 (amd64))
Assuming any awk variant...
1. Is this valid? (it works with mawk, gawk, busy box awk)
BEGIN { debug = 1 }
(debug) { code_here }
(!debug) { code_here }
END { ... }
2. what is the name or accepted term in AWK for unamed functions, main()?
--
:wq
Mike Sanders