3 # Takes a Mega-Sena results table (saved in .txt) as argument and
4 # prints one result per line
8 printf("#\n# Mega-Sena results by megasena2txt\n#\n")
11 /[0-9][0-9]\
/[0-9][0-9]\
/[0-9][0-9][0-9][0-9]/ {
12 printf("%02d %02d %02d %02d %02d %02d\n", $
3, $
4, $
5, $
6, $
7, $
8)