[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Re: [OT] mega-sena com shell
From: |
itamarnet |
Subject: |
Re: [shell-script] Re: [OT] mega-sena com shell |
Date: |
31 Dec 2014 06:04:55 -0800 |
Eu por exemplo não tenho html2text, mas pode usar
- links -dump
- lynx -dump -nolist
- w3m -dump -T 'text/html'
e qq um deles pipear por exemplo com esse trecho em awk, para lista um número por linha:
awk '/[0-9]\/[0-9]/ {for (i=3;i<=8;i++) printf "%s\n", $i }'
ou esse para já ordenar e eliminar a sequência "sort | uniq -c | sort":
awk '/[0-9]\/[0-9]/ {for (i=3;i<=8;i++) numero[$i]++} END {for (num in numero) print numero[num], num | "sort" }'
- [OT] mega-sena com shell, Gustavo S. L., 2014/12/30
- Re: [shell-script] [OT] mega-sena com shell, Tiago Peczenyj, 2014/12/31
- Re: [OT] mega-sena com shell, itamarnet, 2014/12/31
- Re: [shell-script] Re: [OT] mega-sena com shell, Fernando Mercês, 2014/12/31
- Re: [shell-script] Re: [OT] mega-sena com shell,
itamarnet <=
- Re: [Bulk] Re: [shell-script] Re: [OT] mega-sena com shell, Sidney Souza, 2014/12/31
- Re: [Bulk] Re: [shell-script] Re: [OT] mega-sena com shell, itamarnet, 2014/12/31
- Re: [Bulk] Re: [Bulk] Re: [shell-script] Re: [OT] mega-sena com shell, Sidney Souza, 2014/12/31
- Re: [Bulk] Re: [Bulk] Re: [shell-script] Re: [OT] mega-sena com shell, itamarnet, 2014/12/31
- Re: [Bulk] Re: [Bulk] Re: [Bulk] Re: [shell-script] Re: [OT] mega-sena com shell, Sidney Souza, 2014/12/31