-
Notifications
You must be signed in to change notification settings - Fork 0
/
last_history
19 lines (12 loc) · 1.04 KB
/
last_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
grep 'Alaska' sismos5+ | grep -E '\|7\|' > Alaska.txt
grep 'Alaska' sismos5+ | grep -E '\|7\.' >> Alaska.txt
grep 'Alaska' sismos5+ | grep -E '\|8\|' >> Alaska.txt
grep 'Alaska' sismos5+ | grep -E '\|8\.' >> Alaska.txt
https://earthquake.usgs.gov/fdsnws/event/1/query?format=text&minmagnitude=5&starttime=-10years # ult >5 -10anos
https://github.com/HelioGiroto/Sismos/blob/master/tot-sismos_5%2B.txt # tot sismos por mes
https://github.com/HelioGiroto/Sismos/blob/master/sismos-por-mag.csv # tot >5,6,7,8...
https://github.com/HelioGiroto/23-Set/blob/master/Lua.csv # Lua em Virgo ???
bash sismos-por-mag.sh
sort -nr -t' ' -k 14 tot-sismos.txt # Ano com mais terremotos >5 da historia
# SE FOR USAR O CURL, NÃO ESQUECER DE COLOCAR A URL ENTRE ÁSPAS (Por causa do & no url):
curl -s "https://earthquake.usgs.gov/fdsnws/event/1/query?format=text&minmagnitude=5&starttime=-10years" > arquivo.txt