Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 1996 12:43:12 +0200 (SAT)
From:      Robert Nordier <rnordier@iafrica.com>
To:        mcs@vpm.com (Mark Stout)
Cc:        questions@freebsd.org
Subject:   Re: dos2unix for FSB?
Message-ID:  <199605091043.MAA00225@eac.iafrica.com>
In-Reply-To: <199605090517.WAA28835@vpm.com> from "Mark Stout" at May 8, 96 09:30:50 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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.dos >text.bsd

   while ((c = getchar()) != EOF) {
      if (c == '\n')
         putchar('\r');
      putchar(c);
   }

-- 
Robert Nordier



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