Idiomatically determine all the characters that can be used for symbols: Difference between revisions

→‎{{header|AWK}}: fix indentation
(→‎{{header|AWK}}: Clean up code to not include special rules for whitespace; also, AWK is not uppercase letter only)
(→‎{{header|AWK}}: fix indentation)
Line 22:
fn = "is_valid_identifier.awk"
printf("function unused(%s) {}\n", id, id) >fn
printf("BEGIN { exit(0) }\n") >>fn
close(fn)