[Numpy-discussion] whitespace in git repo

Charles R Harris charlesr.harris@gmail....
Wed Oct 20 12:01:37 CDT 2010


On Wed, Oct 20, 2010 at 9:56 AM, Friedrich Romstedt <
friedrichromstedt@gmail.com> wrote:

> 2010/10/20 Darren Dale <dsdale24@gmail.com>:
> > On Wed, Oct 20, 2010 at 6:12 AM, Friedrich Romstedt
> > <friedrichromstedt@gmail.com> wrote:
> >> Due to Darren's config file the .nsi.in file made it with CRLF into the
> repo.
> >
> > Uh, no.
>
> You mean I'm wrong?  Wait, I'll check, but ...Hmm, how do I check the
> line endings?  `file` told it for the .nsi.in file, but not for the
> .py ones.  I was starting from the assumtion that Mac OS X native form
> is LF, or even CR, but not CRLF, which is Windows?
>
> Sorry if I wasn't diligent enough or too sure.
>
>
You can grep for CR: grep -P '\r' foo . On windows and mac you might need to
add -U. For vim ":set list" will show the line endings.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101020/b2afc1e5/attachment.html 


More information about the NumPy-Discussion mailing list