Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2001 08:24:30 -0500
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        David Banning <david@skytrackercanada.com>, Andreas Ntaflos <ntaflos.andreas@gmx.net>
Cc:        David Loszewski <stealth215@mediaone.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ^M on end of lines
Message-ID:  <01110308243001.07574@i8k.babbleon.org>
In-Reply-To: <20011102223719.A565@sympatico.ca>
References:  <00a401c163fe$94084ee0$0164a8c0@daemon> <20011103023841.B1564@Deadcell.ANT> <20011102223719.A565@sympatico.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 02 November 2001 22:37, David Banning wrote:
> For some reason I get the ^M's, but only when I use script like so
> when I do a compile in the ports;
>
> 'cd /usr/ports/whatever'
> 'script tempfile make install'
>
> Then 'vi tempfile' shows a copy of the make progress with lots of ^M's.

The ^Ms are invisible in, say, an xterm, so if you care comparting vi'ing the 
file to just cat'ing it, it could be a matter of whether you *see* them 
rather than whether they are *there*.

>
> Am I doing something wrong?
>
> On Sat, Nov 03, 2001 at 02:38:41AM +0100, Andreas Ntaflos wrote:
> > On Fri, Nov 02, 2001 at 07:59:46PM -0500, David Loszewski wrote:
> > > Maybe the question I should be asking instead is, is it normal to see a
> > > crap load of '^M's in a file in FreeBSD?
> > >
> > > Dave
> >
> > No, this just happens if those files are either DOS formatted (wordpad,
> > excel), or transferred via ftp in binary mode (ascii files should be
> > transferred in ascii mode).
> >
> > I don't recall any other reason.
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                        http://www.babbleon.org

-------> Free Dmitry Sklyarov!  (let him go home)  <-----------

http://www.eff.org                 http://www.programming-freedom.org 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01110308243001.07574>