awk: Process file multiple times
TLDR; This isn't possible.
Workarounds:
- read each input line into an array, then loop over it in
END
- read input lines and also explicitly
read
lines from a file (could pass path as variable)
Published on: 10 Jul 2021