From: Ed Wensell III <ewensell@pstcc.cc.tn.us.net>
Subject: Re: dos2unix ? unix2dos ?
Date: 1999/11/26 [thread overview]
Message-ID: <383F6018.3AD5@pstcc.cc.tn.us.net> (raw)
In-Reply-To: 81jjj2$nls$1@nnrp1.deja.com
Eric Headley wrote:
>
> This is possibly a very foolish question, but I can't seem to find
> dos2unix or unix2dos in DEC UNIX 4.0d . Where might I be able to find
> these programs ?
According to the info I found, dos2unix is a program desgined to convert
DOS based text files to more of a UNIX format. Is this correct? If so,
perhaps mtype is what you want:
> man mtype
mtype(1)
NAME
mtype - mtools utility to display the contents of a DOS file
SYNOPSIS
mtype [-ts] msdosfile [msdosfiles...]
FLAGS
-t Specifies text file viewing. Line terminators are converted
to the appropriate format.
-s Strips the high bit from the data.
DESCRIPTION
The mtype command displays the specified file on the screen.
Unlike conventions, this command supports multiple arguments.
<SNIP>
Redirecting mtype output to another file should do the trick. mtype is
part of the mtools collection:
> man mtools
mtools(1)
NAME
mtools - Provides a collection of tools for manipulating DOS files
DESCRIPTION
The mtools commands are a public domain collection of programs
that let you read, write, and manipulate files on a DOS filesystem
(typically a diskette) from a UNIX system. Each command attempts
to emulate the DOS equivalent command as closely as possible. The
following commands are available:
<SNIP>
Mtools is a separately installable subset on one of the "Additional"
CD's in the DUNIX set (forget the exact CD name). I'm not sure if mtools
provides an equivalent of unix2dos. However, I usually have very little
trouble converting/reading text files generated on my DUNIX system with
regular EDIT from the C:\> prompt of a DOS/W95/W98/WNT machine (or
WordPad when push comes to shove).
--
Until soon...
Ed Wensell III
next prev parent reply other threads:[~1999-11-26 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-25 5:00 dos2unix ? unix2dos ? Eric Headley
1999-11-26 5:00 ` Ed Wensell III [this message]
1999-11-27 5:00 ` werme
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox