• a text file is not a text file
  • unix/linux systems terminate lines in a LINEFEED character
  • DOS, OS/2, MS Windows terminate lines with CARRIAGERETURN+LINEFEED characters
  • sed can barf on the CR+LF
  • dos2unix converts CR+LF line endings to LF line endings
  • dos2unix lab.sed converts lab.sed to be a unix file
  • why is this important?
  • some mail systems treat all text files as DOS files
  • INDEX
    PREVIOUS
    Master Index