On 05/09/2010 02:26 AM, Mladen Turk wrote:
This can be easily fixed with a simple script: #!/bin/sh for f do case "$f" in * ) sed -e 's/[[:space:]]*$//g' $f > $f.tmp
Maybe do the next to lines "conditional" on diff between $f and $f.tmp actually finding a change being made? Extremely minor though, and in reality, if there is no change, the "mv" would be harmless anyways.
rm -f $f mv $f.tmp $f ;; esac done Think we should fix that in a batch for all files in a single commit.
+1, just create a Jira ticket and commit against that for this change. Cheers, -- Leif