Last active
January 4, 2016 22:00
-
-
Save vindolin/65df24a974e9bb796d04 to your computer and use it in GitHub Desktop.
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 characters
#!/usr/bin/env python | |
# run with get_total_history.py <(history) | |
import fileinput | |
history = [ | |
line.strip().partition(' ')[2] | |
for line in fileinput.input()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment