In a script like this, to split a large file into a line:
awk '/MYSTRING/ {n++}{print >"out_" n ".txt" }' LARGEFILE
This creates out_1.txt, out_2.txt, etc.
How can I get the letter prefixes created by split (out_aa.txt, out_ab.txt, out_ac.txt, ...)?
thank
source
share