- When should I use AWK instead of Python or sed?
- AWK is ideal for column-oriented text processing: summing fields, filtering by column value, reformatting delimited files. For complex logic, string manipulation, or JSON/XML, Python is more appropriate.
- Does it support multi-file input?
- Yes — paste multiple input blocks or use the file input panel. AWK processes them sequentially and FILENAME provides the current file name within the program.
- Is AWK Turing-complete?
- Yes — AWK has conditionals, loops, functions, and arrays. Small AWK programs have been written to implement sorting, matrix operations, and even rudimentary interpreters, though it is not designed for those uses.