From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d780a74bd8dfab X-Google-Attributes: gidfee84,public From: Ed Wensell III Subject: Re: dos2unix ? unix2dos ? Date: 1999/11/26 Message-ID: <383F6018.3AD5@pstcc.cc.tn.us.net>#1/1 X-Deja-AN: 553537849 Content-Transfer-Encoding: 7bit References: <81jjj2$nls$1@nnrp1.deja.com> Content-Type: text/plain; charset=us-ascii Organization: Pellissippi State Technical Community College Mime-Version: 1.0 Reply-To: postmaster, root, system, abuse, webmaster Newsgroups: comp.unix.osf.osf1 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. 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: 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