2 # Run with: awk -f cep-search.awk -v cep=cep-number filename
7 printf("usage: awk -f cep-search.awk ")
8 printf("-v cep=cep-number filename\n")
16 printf("\nCEP: %s\nEstado: %s\nCidade: %s\n", $
1, $
2, $
3)
17 printf("Bairro: %s\nRua: %s\n", $
4, $
5)
23 printf("%s: not found", cep
)