Last active
November 16, 2016 12:49
-
-
Save bxt/ec292fe81a9069f808930992f3dce9b0 to your computer and use it in GitHub Desktop.
Find out what coders want to make great again
This file contains 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 characters
git log -i --format=oneline | sed -n '/.*[Mm]ake \(.*\) great again.*/ s//\1/p' | |
# Or even: | |
git log -i --format=oneline | sed -n '/.*[Mm]ake \(.*\) great again.*/ s//\1/p' | ruby -ne 'BEGIN{a=[]};a<<$_.strip;END{puts a.join(", ")}' | |
# A bit shorter and maybe more performant (so use this if you want to make many things great again, e.g. the whole of america): | |
git log -i --format=oneline | sed -n '/.*[Mm]ake \(.*\) great again.*/ s//\1/p' | ruby -ne 'print ", " if $.!=1;print $_.strip;END{puts}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment