diff -r fcf75e232c5b -r 0ff3ba646492 web/drupal/scripts/code-clean.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/drupal/scripts/code-clean.sh Fri Aug 21 16:26:26 2009 +0000 @@ -0,0 +1,10 @@ +#!/bin/sh +# $Id: code-clean.sh,v 1.8 2005/08/11 13:02:08 dries Exp $ + +find . -name "*~" -type f | xargs rm -f +find . -name ".#*" -type f | xargs rm -f +find . -name "*.rej" -type f | xargs rm -f +find . -name "*.orig" -type f | xargs rm -f +find . -name "DEADJOE" -type f | xargs rm -f +find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\s+$/\n/' +find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\t/ /g'