Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Text strangeness after using SMB to get a fileby Paladin (Vicar) |
on Sep 09, 2005 at 21:24 UTC ( [id://490765]=note: print w/replies, xml ) | Need Help?? |
Since you mention SMB, I am assuming the files come from a Windows machine of some sort. Chances are that the files have DOS line endings, but your script is running on Solaris, which is assuming *nix line endings. Try running the file through a dos2unix utility to change the line endings first.
In Section
Seekers of Perl Wisdom
|
|