[OPEN-ILS-DEV] Whitespace Fixup Plan for m1

Galen Charlton gmc at esilibrary.com
Fri Jun 7 17:34:25 EDT 2013


Hi,

On Thu, Jun 6, 2013 at 8:06 AM, Dan Wells <dbw2 at calvin.edu> wrote:
> I've been experimenting with different ideas for conquering the whitespace beast, and am trying to keep things as simple as possible.  After a few iterations, here is what I have for the main cleanup command (to be run from Open-ILS/src/perlmods/lib):
>
> find . -name "*.pm" \
> -exec sh -c 'sed "/<</s/\t/    /g" < {} \
> | expand -t 4 > {}.fixed ; \
> cp --no-preserve=mode,ownership {}.fixed {}; \
> rm {}.fixed' \;

I've done only very superficial testing of this, but it's encouraging
that the output of git diff -b after running this is ... nothing.

Regards,

Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  gmc at esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org


More information about the Open-ils-dev mailing list