Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
d23f12d4
Commit
d23f12d4
authored
Mar 09, 2009
by
Dries Buytaert
Browse files
- Re-adding code-clean.sh. Didn't mean to remove that.
parent
2568de09
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/code-clean.sh
0 → 100644
View file @
d23f12d4
#!/bin/sh
# $Id$
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'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment