[Numpy-discussion] whitespace in git repo
Charles R Harris
Wed Oct 20 12:01:37 CDT 2010
On Wed, Oct 20, 2010 at 9:56 AM, Friedrich Romstedt <
> 2010/10/20 Darren Dale <firstname.lastname@example.org>:
> > On Wed, Oct 20, 2010 at 6:12 AM, Friedrich Romstedt
> > <email@example.com> wrote:
> >> Due to Darren's config file the .nsi.in file made it with CRLF into the
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion