04.15.08

Counting commands

Posted in Camino, Life at 2:06 pm by

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:

  1. 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.
  2. If there were some way to track Coda saves and MediaWiki edits…that would tell the tale!
  3. 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.app commands are also missing.
  4. Thanks to bz for tcsh variant; otherwise I wouldn’t have been able to play along and take this needed break. :)

2 Comments »

  1. User Grav­atarSylvain said,

    04.15.08 at 6:53 pm

    diffscrape? Google wasn’t helpful for this one. I guess a local alias?

  2. User Grav­atarSmokey said,

    04.15.08 at 7:13 pm

    diffscrape is a small app that Ian Leue wrote that will process a cvs diff-generated patch and spit out the files it contains. It’s handy for opening those files, re-making patches, and of course cvs commit comments.

    While I’m clarifying unfamiliar commands, edit is TextWrangler’s command-line helper (which, Ian informed me, is not nearly as cool or capable as TextMate’s mate).

Atom feed for comments on this post · TrackBack URL

Leave a Comment