Created
December 4, 2020 00:22
-
-
Save jswrenn/a60383b86b92cae76407f5d11bc878c7 to your computer and use it in GitHub Desktop.
Revisions
-
jswrenn revised this gist
Dec 4, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ year,sats 1960,42 1961,58 1962,98 -
jswrenn created this gist
Dec 4, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,61 @@ 1960,42 1961,58 1962,98 1963,95 1964,124 1965,175 1966,170 1967,173 1968,161 1969,154 1970,142 1971,169 1972,137 1973,145 1974,138 1975,161 1976,162 1977,143 1978,167 1979,131 1980,144 1981,160 1982,159 1983,162 1984,168 1985,171 1986,151 1987,142 1988,149 1989,139 1990,175 1991,146 1992,141 1993,117 1994,132 1995,113 1996,108 1997,163 1998,181 1999,138 2000,134 2001,98 2002,105 2003,94 2004,77 2005,79 2006,118 2007,120 2008,112 2009,138 2010,133 2011,143 2012,142 2013,217 2014,299 2015,269 2016,223 2017,476 2018,476 2019,504 2020,1295 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ printf "year,sats\n" for year in {1960..2020} ; do sats=$(curl -s "https://space.skyrocket.de/doc_chr/lau${year}.htm" \ | xidel -s -e '//*[@id="chronlist"]/tbody/tr/td[3]' - \ | wc -l) printf "%s,%s\n" $year $sats done