We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

zingo on 01/04/08


Tagged

svn Bash subversion


Versions (?)


Determine the change in file size in lines between Subversion revisions


Published in: Bash 


URL: http://blog.kulp.ch/2007/04/determine-change-in-file-size-in-lines.html

  1. svn diff -rREV1:REV2|grep "^\(-\|+\)"|cut -b1|sort -r| \
  2. uniq -c|tr -d '\012'|tr '+-' '-\012'|sed 's/ //g'|bc

Report this snippet 

You need to login to post a comment.