Menu

Eol characters

Help
2009-02-16
2012-07-26
  • Robbert Dam

    Robbert Dam - 2009-02-16

    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

     
    • GnuWin

      GnuWin - 2009-02-17

      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.

       
MongoDB Logo MongoDB