Mercurial > defr > drupal > core
comparison scripts/code-clean.sh @ 1:c1f4ac30525a 6.0
Drupal 6.0
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:28:28 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:5a113a1c4740 | 1:c1f4ac30525a |
---|---|
1 #!/bin/sh | |
2 # $Id: code-clean.sh,v 1.8 2005/08/11 13:02:08 dries Exp $ | |
3 | |
4 find . -name "*~" -type f | xargs rm -f | |
5 find . -name ".#*" -type f | xargs rm -f | |
6 find . -name "*.rej" -type f | xargs rm -f | |
7 find . -name "*.orig" -type f | xargs rm -f | |
8 find . -name "DEADJOE" -type f | xargs rm -f | |
9 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/' | |
10 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' |