Introduce emu8086
[lcapit-junk-code.git] / mega-sena / megasena2text
blobcd873cd8ca6b681e27086caec425bb781ba546b2
1 #!/bin/awk -f
3 # Takes a Mega-Sena results table (saved in .txt) as argument and
4 # prints one result per line
7 BEGIN {
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)