Initial code using Drupal 6.38
This commit is contained in:
commit
4824608a33
467 changed files with 90887 additions and 0 deletions
9
scripts/code-clean.sh
Normal file
9
scripts/code-clean.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
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'
|
Reference in a new issue