If by EOF you mean the End Of File marker then depending on the OS this may or may not work:
perl -pi -e's/[\cZ\cD]//g' file
/J\
In reply to Re: Deleting EOF from a file
by gellyfish
in thread Deleting EOF from a file
by nsyed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |