Hi, On Thu, Jun 6, 2013 at 8:06 AM, Dan Wells <[email protected]> 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: [email protected] 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
