From owner-freebsd-questions Wed Sep 25 00:08:24 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA20559 for questions-outgoing; Wed, 25 Sep 1996 00:08:24 -0700 (PDT) Received: from sdev.blaze.net.au (sdev.blaze.net.au [203.17.53.11]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA20276 for ; Wed, 25 Sep 1996 00:08:03 -0700 (PDT) Received: from localhost (davidn@localhost) by sdev.blaze.net.au (8.7.6/8.6.9) with SMTP id RAA07646; Wed, 25 Sep 1996 17:07:34 GMT Date: Wed, 25 Sep 1996 17:07:34 +0000 () From: David Nugent To: Gordon Rios & Jennifer Melvin cc: questions@freebsd.org Subject: Re: DOS to UNIX file transfers In-Reply-To: <3248117C.58C3@ricochet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 24 Sep 1996, Gordon Rios & Jennifer Melvin wrote: >When I use vi to look at a file that I have copied over from DOS, I see >a bunch of ^M characters, but they don't show up when I "cat" a file. I >know they are carriage returns of some sort, but do they cause problems? Usually. Most UNIX programs don't expect the CR before the newline. >Also, when I try to transfer a manpage (e.g. man chmod > >chmod.txt) and transfer that to dos, I get a bunch of block >characters and an unuseable mess. What am I doing wrong? Pipe it through col -b to get rid of the bold/underlining. man chmod | col -b > chmod.txt Create a shell alias if you find yourself doing this often. Regards, David David Nugent, Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-791-9547 Data/BBS +61-3-792-3507 3:632/348@fidonet davidn@blaze.net.au http://www.blaze.net.au/~davidn