> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Mark Thompson > Sent: Wednesday, March 14, 2007 9:16 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] running a perl script. > > The file was never on a win machine here. I opened the file with kwrite > and vi and don't see the ^M in the text. >
They _are_ there or you wouldn't see the error. The problem is that it's not a printable character (carriage return) so kwrite and vi just aren't showing it. Try 'vi -b filename'. That will put vi in binary mode which will display everything in the file as a printable character (^M for [CTRL-M] in this case). vim, often used as a replacement for vi these days, seems to be better at automatically setting binary mode when necessary from my experience. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null