diff --git a/scripts/14-mai.sh b/scripts/14-mai.sh index 4c74de6..4c77523 100755 --- a/scripts/14-mai.sh +++ b/scripts/14-mai.sh @@ -1,7 +1,7 @@ #!/bin/bash wget --no-check-certificate https://www.sg.mai.gov.pt/AdministracaoEleitoral/RecenseamentoEleitoral/ResultadosRecenseamento/Paginas/default.aspx -o /dev/null -O -|grep -v __REQUESTDIGEST|grep -v VIEWSTATE|hxnormalize -x -l 1000|hxselect .conteudo > mai-tmp -cat mai-tmp|hxselect a > mai +cat mai-tmp|hxselect a -s'\n' > mai rm mai-tmp if [ ! "$(diff mai scripts/14/mai|wc -l)" -eq "0" ]; then echo "mai: incumprimento pode já não existir"; diff --git a/scripts/14/mai b/scripts/14/mai index f7a54a7..de05f95 100644 --- a/scripts/14/mai +++ b/scripts/14/mai @@ -1 +1,70 @@ -pdfExcelExcelpdfExcelpdfExcelExcelExcel​Exc​el​pdfExcelpdf​ExcelExcelp​dfExcelpdfExcelExcelExcelpdf ExcelExcel ExcelpdfExcelExcelpdfExcelExcelpdfExcelpdfformatoExcelExcelpdfExcelExcelExcelpdfExcelpdfExcelpdfExcelExcelExcelpdfExcelpdfExcelpdfExcelpdfExcelExcelpdfExcelExcelpdfExcelpdfExcelpdfExcelpdfExcelpdf \ No newline at end of file +Excel +pdf +Excel +Excel +pdf +Excel +pdf +Excel +Excel +Excel​ +Exc​el​ +pdf +Excel +pdf​ +Excel +Excel +p​df +Excel +pdf +Excel +Excel +Excel +pdf + Excel +Excel + Excel +pdf +Excel +Excel +pdf +Excel +Excel +pdf +Excel +pdf +formatoExcel +Excel +pdf +Excel +Excel +Excel +pdf +Excel +pdf +Excel +pdf +Excel +Excel +Excel +pdf +Excel +pdf +Excel +pdf +Excel +pdf +Excel +Excel +pdf +Excel +Excel +pdf +Excel +pdf +Excel +pdf +Excel +pdf +Excel +pdf