Hello, I'm using sed to search/replace text in my Visual Basic project files. However, the windows EOL chars are converted to unix-style, so they cannot be read anymore by VB. Is there a way to prevent this?
Thanks
Robbert Dam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Either use the -T (--textmode) option with sed, which makes sed read and write files in textmode. Or use unix2dos from the Cygutils package to convert LF to CRLF.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I'm using sed to search/replace text in my Visual Basic project files. However, the windows EOL chars are converted to unix-style, so they cannot be read anymore by VB. Is there a way to prevent this?
Thanks
Robbert Dam
Either use the -T (--textmode) option with sed, which makes sed read and write files in textmode. Or use unix2dos from the Cygutils package to convert LF to CRLF.