Command line meme
I thought the top 10 command line meme was interesting, and it seems to be going around.
For me nosetests seems to be by far the most run command on my system — I guess that means I’ve been infected the testing meme as well.
ramoth:mramm markramm$ history|awk '{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head
169 nosetests
52 ls
48 cd
31 Python
27 sphinx-build
27 bzr
20 svn
17 hg
15 ping
11 easy_install
Also I’ve been working on TurboGears 2 docs, and I’m loving sphinx. I also note that 6 of the items on the list are python, and 3 of them are version control systems that I use to manage python code. I expected svn to come in a lot higher, but I reallized that this list is has been influenced by the fact that i use QuickSilver to launch my text editor, and I have been using the svn plug-in a lot.
Why it should not be done in a Python one-liner
- Paddy.
What do you use mercurial for?
Just another history to share !
history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head
160 cd
133 tg-admin
30 ./start-dameunlimon.py
24 python
21 ssh
20 svn
20 ./start-mechanic.py
17 ./start-lymoncms.py
12 ls
9 paster
Hi Bob AT example dot com — Pylons and related projects (routes, mercurial, etc) are all hosted using mercurial these days. So, I use it for hacking on that stuff. ;)