Help for this page

Select Code to Download


  1. or download this
        $ gcc -c no_eof.c
        no_eof.c:9:2: warning: no newline at end of file
    
  2. or download this
        perl -i -pl -eof file1 file2 ...
  3. or download this
        perl -i -pe '$_ .= $/ if eof and not /\n/' file1 file2 ...