harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [snapshot] Code frozen
Date Sat, 28 Apr 2007 21:01:40 GMT
On 4/29/07, Nathan Beyer <ndbeyer@apache.org> wrote:
>
> Just convert all of the line ending to the native format you're working
> on.
>
> If you're on Windows, I'd used Notepad2. It has a nice display
> whitespace feature and convert line endings feature.


If you use Linux or have cygwin installed:
sed -e 's/$/\r/' inputfile > outputfile # UNIX to DOS (adding CRs)
sed -e 's/\r$//' inputfile > outputfile # DOS to UNIX (removing CRs)






-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message