Skip to content

Instantly share code, notes, and snippets.

@hitsumabushi
Created May 8, 2017 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitsumabushi/2198cdee99702add944141f41f27b7f8 to your computer and use it in GitHub Desktop.
Save hitsumabushi/2198cdee99702add944141f41f27b7f8 to your computer and use it in GitHub Desktop.
草の集計

草のところのsvg を github というファイルに保存して、 github.csv というファイルにする。 GHE側でも同様に、ghe.csv を作る

$ grep "data-date" github | cut -d ' ' -f 18,19 | cut -d'>' -f1 | sed -e 's/data-count="\([^"]*\)" data-date="\([^"]*\)"/\2,\1/' > github.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment