← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14814: Minor

 

------------------------------------------------------------
revno: 14814
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-04-12 20:00:17 +0200
message:
  Minor
modified:
  resources/util/prepare_csv.sh


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'resources/util/prepare_csv.sh'
--- resources/util/prepare_csv.sh	2014-04-12 17:18:38 +0000
+++ resources/util/prepare_csv.sh	2014-04-12 18:00:17 +0000
@@ -18,11 +18,11 @@
 
 # Remove spaces/tabs at beginning of lines
 
-sed -i 's/^\s+//g' $1
+sed -i 's/^\s//g' $1
 
 # Remove spaces/tabs at end of lines
 
-sed -i 's/\s+$//g' $1
+sed -i 's/\s$//g' $1
 
 # Remove dots at end of lines