Mercurial > defr > drupal > core
view scripts/code-clean.sh @ 20:e3d20ebd63d1 tip
Added tag 6.9 for changeset 3edae6ecd6c6
author | Franck Deroche <franck@defr.org> |
---|---|
date | Thu, 15 Jan 2009 10:16:10 +0100 |
parents | c1f4ac30525a |
children |
line wrap: on
line source
#!/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'