in reply to
Deleting EOF from a file
AFAIK EOF is only a character on Win32/DOS systems (well, in files that is), and can be removed like this (I had to google for the EOF charnum, but it seems to be 032):
perl -pn -i.bak -e 's/\032//g' filename
[download]
This is completely untested
"What should it profit a man, if he should win a flame war, yet lose his cool?"
Comment on
Re: Deleting EOF from a file
Download
Code
In Section
Seekers of Perl Wisdom