[SciPy-Dev] script for trailing whitespace cleanup

Benjamin Root ben.root at ou.edu
Fri Sep 24 09:54:04 EDT 2010


On Fri, Sep 24, 2010 at 8:45 AM, <josef.pktd at gmail.com> wrote:

> On Fri, Sep 24, 2010 at 9:02 AM, Charles R Harris
> <charlesr.harris at gmail.com> wrote:
> >
> >
> > On Thu, Sep 23, 2010 at 10:41 PM, <josef.pktd at gmail.com> wrote:
> >>
> >> Is the script for trailing whitespace cleanup that is used for numpy,
> >> scipy available somewhere?
> >>
> >
> > I've attached the perl script I use. You can use it wildcards for the
> file
> > names in the usual way. Hmmm, I wonder how it treats the cr-lf endings
> that
> > sometimes turn up on windows.
>
> Thank you,
> I will ask Skipper to run it on Linux, then I don't have to worry
> about line-endings (nor do I have to figure out how to use perl on my
> machine, on second thought, maybe I should).
>
> Josef
>
>
On just about any linux machine I have used, I have found the program
'dos2unix' to be very helpful.  Note, it converts line endings for more than
just dos->unix.

Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100924/c5d17ad0/attachment.html>


More information about the SciPy-Dev mailing list