Monday, March 19, 2012

All the svn changes in a date range

svn log -v -r {2011-05-01}:{2012-02-29}

Thursday, March 15, 2012

formatting xml in vim

map <F2> <Esc>:1,$!xmllint --format -<CR>

add the above in .vimrc

maven create eclipse project

mvn eclipse:clean eclipse:eclipse

awk print sum of a column and number of rows

awk '{sum=sum+$3} END {print "sum is ",sum," nr = ",NR}' file1

Blog Archive