> There is a bug in sed: when processing files which do not end with a newline > character, the last line is discarded. Many UNIX text-file utilities will discard a (necessarily final) text line that does not end in a newline. Quite simply, such a file is not a proper UNIX text file.