From owner-freebsd-questions Wed Apr 26 15:58:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hecky.it.northwestern.edu (hecky.acns.nwu.edu [129.105.16.51]) by hub.freebsd.org (Postfix) with ESMTP id 2CF8537B986 for ; Wed, 26 Apr 2000 15:58:35 -0700 (PDT) (envelope-from djkanter@nwu.edu) Received: (from mailnull@localhost) by hecky.it.northwestern.edu (8.8.7/8.8.7) id RAA07513 for ; Wed, 26 Apr 2000 17:58:28 -0500 (CDT) Received: from localhost.localdomain (areca-13-028081.nuts.nwu.edu [165.124.28.81]) by hecky.acns.nwu.edu via smap (V2.0) id xma007248; Wed, 26 Apr 00 17:57:52 -0500 Received: (from david@localhost) by localhost.localdomain (8.9.3/8.9.3) id RAA92379 for freebsd-questions@freebsd.org; Wed, 26 Apr 2000 17:56:51 -0500 (CDT) (envelope-from david) Date: Wed, 26 Apr 2000 17:56:51 -0500 From: "David J. Kanter" To: FreeBSD questions Subject: Convert DOS -> Unix text Message-ID: <20000426175651.A92365@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-Organization: Northwestern University X-Operating-System: FreeBSD localhost.localdomain 3.4-STABLE FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I use two flavors of Emacs: one on DOS, one on BSD. The BSD version complains when compiling my c++ programs because DOS uses a different kind of carriage return than Unix. The warning I get is: warning: carriage return in preprocessing directive How can I convert DOS text into BSD text? I looked at convert, but that seems to be for images only. -- David Kanter djkanter@nwu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message