Hello, On Tue, Apr 19, 2011 at 10:09, Ludovic Rousseau <[email protected]> wrote: > > 5 years ago I sent [1] a script to remove all the extra spaces and > tabs at end of lines. > > The script is simple: > $ find . -name '*.[ch]' | xargs perl -pi -e 's/\t+$//; s/ +$//' > but it will generate a HUGE patch. > > Martin, feel free to use it to fix any trailing spaces and tabs.
It seems a bit more complicated, as git commit will also complain about mixed tab/space for indentation and this usually requires some manual work (or some formatting tool) to fix. But it would be nice to do this for next release anyway, together with some more nesting in source code layout, to separate drivers to subfolders and to move the code around so that the directory layout is in line with the built binaries/libraries (src/pkcs15init -> src/libopensc/something) Best, Martin _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
