6 ms·
I'm guessing there's a flag to get that printout, mind sharing?
by onewland 14y ago
I'm guessing there's a flag to get that printout, mind sharing?
- harryh 14y agogit log --author harryh --format="%ci" | cut -f1-2 -d- | uniq -c | tail -r (then I added in the 0 months manually) Learned this just now via twitter btw: https://twitter.com/harryh/status/279010454376960000 https://twitter.com/harryh/status/279010454376960000
- splicer 14y agoAlso, if your version of tail doesn't support the -r option, you can reverse the order of the lines using the tac command.
- unwind 14y ago... and if you didn't get that "tac" is a command to reverse some text, then you need to realize that it's "cat" backwards. I promise, if it weren't so annoyingly hard to implement, Linux would have command called nwodtuhs to turn the machine on. Those crazy geeks! :D
- csense 14y agoMy favorite backwards command is the 'sl' command. If you have a Debian/Ubuntu command line handy, sudo apt-get install sl