From owner-freebsd-questions Thu May 9 03:45:05 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA23945 for questions-outgoing; Thu, 9 May 1996 03:45:05 -0700 (PDT) Received: from eac.iafrica.com (slipper101136.iafrica.com [196.7.101.136]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA23931 for ; Thu, 9 May 1996 03:44:59 -0700 (PDT) Received: (from rnordier@localhost) by eac.iafrica.com (8.6.12/8.6.12) id MAA00225; Thu, 9 May 1996 12:43:13 +0200 From: Robert Nordier Message-Id: <199605091043.MAA00225@eac.iafrica.com> Subject: Re: dos2unix for FSB? To: mcs@vpm.com (Mark Stout) Date: Thu, 9 May 1996 12:43:12 +0200 (SAT) Cc: questions@freebsd.org In-Reply-To: <199605090517.WAA28835@vpm.com> from "Mark Stout" at May 8, 96 09:30:50 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mark Stout wrote: > > Is there a port for dos2unix/unix2dos for FSB? I can't locate anything on > it, so I'm wondering if others know. Dunno. But how necessary are they? tr -d "\r" text.bsd while ((c = getchar()) != EOF) { if (c == '\n') putchar('\r'); putchar(c); } -- Robert Nordier