Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the iloader parses the data file, it recognizes %n(LF) as a row terminator. So when uploading a data file in DOS format, a parsing error might occur.

 

When openning opening a DOS format file with vi in Linux/Unix, ^M is attached to the line or looks like the following:

...

  • The dos2unix command converts DOS/MAC files to UNIX format.

    Code Block
    titleExample
    languagebash
    $ dos2unix SYS_T.dat
    dos2unix: converting file SYS_T.dat to UNIX format ...
    Code Block
    titleFile type comparison before and after dos2unix execution
    languagebash
    $ file SYS_T.dat
    SYS_T.dat: ISO-8859 text, with very long lines, with CRLF line terminators           # DOS format file
    
    $ dos2unix SYS_T.dat
    dos2unix: converting file SYS_T.dat to UNIX format ...
    
    $ file SYS_T.dat
    SYS_T.dat: ISO-8859 text, with very long lines                                       # UNIX format file

...