diff options
author | click <none@none> | 2010-08-08 19:45:53 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-08 19:45:53 +0200 |
commit | 1f80c7b3c056a791a7f0be52a6e188292d268b82 (patch) | |
tree | 7a098100fe06b3bffa4869aad2f3dd8225590485 /contrib | |
parent | 31160bcfce97dc403627f986ca343de6496c8ea8 (diff) |
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
--HG--
branch : trunk
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cleanup/tab2spaces.sh | 4 | ||||
-rw-r--r-- | contrib/cleanup/whitespace.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/cleanup/tab2spaces.sh b/contrib/cleanup/tab2spaces.sh index 1022be7905c..278718604a6 100644 --- a/contrib/cleanup/tab2spaces.sh +++ b/contrib/cleanup/tab2spaces.sh @@ -1,2 +1,2 @@ -# Be sure to specify files instead of * when running the script. -perl -p -i -e "s/\t/ /g" * +#!/bin/bash +perl -wpi -e "s/\t/ /g" $1 diff --git a/contrib/cleanup/whitespace.sh b/contrib/cleanup/whitespace.sh index a351e25359b..62e92c362c6 100644 --- a/contrib/cleanup/whitespace.sh +++ b/contrib/cleanup/whitespace.sh @@ -1,2 +1,2 @@ # Be sure to specify files instead of * when running the script. -perl -p -i -e "s/ +$//g" * +perl -wpi -e "s/ +$//g" $1 |