I've been working on a Flex project recently, one that I used to compile in Windows, but have since moved over to Linux with the Flex SDK. One of the problems I run into is that Dos appears to leave these characters in my files at the end of each line
// a comment in my flex file^M
It's painful to have to delete them all manually, so a simple command in vim will do it:
:1,$ s/^M//
To get the ^M you can hit 'Ctrl+v' and then 'Enter'
Aaron
This blog is built on an experimental engine conceived by Aaron Fay. The system used to power this site is running on the awesome Django framework. As the site becomes more complete, and the functionality becomes streamlined, I will reveal more about the inner workings and may also release it open source one day. The most prominent feature at this point is all the different content types use the same model :)
No comments.