A handful of useful scripts 11 Oct 2007


I've just uploaded a zip file containing a handful of scripts I use in my every day routine.
  • cleol: Clean the end of lines of the files passed as arguments. Accept ruby wildcards (such as * or **/*). That will replace the windows style line endings by unix style line endings, but will also remove useless white-spaces.
  • clprop: Clean the svn properties of the files passed as arguments. Accept ruby wildcards (such as * or **/*). That will remove the svn:executable properties, and set the svn:eol-style to native to the files.
  • svnci: My own script that prompt me my favorite lightweight editor to edit my ChangeLog entries.
  • monoport: I've detailed this one in this blog entry. I recently added to it the possibility to get a monoport entry printed to stdout. Typically, it allows me to apply patches directly from monoport:
    monoport -g:4512 | patch -p0
    
    Requires the cute library hpricot.