04.15.08
Counting commands
Just because I need a break right now and sometimes it’s fun to play along with Planet Mozilla: what does a Camino QA lead/website peer/tester/sometimes-hacker’s command-line history look like?
[Qalaat-Samaan:dev/trunk/mozilla] smokey% uname -a
Darwin Qalaat-Samaan.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
[Qalaat-Samaan:dev/trunk/mozilla] smokey% history | awk ‘{a[$3]++ } END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
24 make
11 cvs
10 cd
8 open
6 history
5 edit
4 patch
3 diffscrape
2 touch
1 svn
1 ls
1 cp
Notes:
- This is the sum for my six current active Terminal tabs from the tail end of One License to Rule Them All (Phase 2) on (I had to quit Terminal once I had the fix mostly complete because of some sort of corrupted environment setting). For the morbidly curious, there are another 11 open tabs for other branches and trees I haven’t built since restarting Terminal.
- If there were some way to track Coda saves and MediaWiki edits…that would tell the tale!
- Pretty much every launch of Camino to test something goes through Troubleshoot Camino these days, so all of those would-have-been
open path/to/one/or/another/Camino.appcommands are also missing. - Thanks to bz for
tcshvariant; otherwise I wouldn’t have been able to play along and take this needed break.
April 15, 2008 at 6:53 pm
diffscrape? Google wasn’t helpful for this one. I guess a local alias?
April 15, 2008 at 7:13 pm
diffscrapeis a small app that Ian Leue wrote that will process acvs diff-generated patch and spit out the files it contains. It’s handy for opening those files, re-making patches, and of coursecvs commitcomments.While I’m clarifying unfamiliar commands,
editis TextWrangler’s command-line helper (which, Ian informed me, is not nearly as cool or capable as TextMate’smate).