Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* dos2unix ? unix2dos ?
@ 1999-11-25  5:00 Eric Headley
  1999-11-26  5:00 ` Ed Wensell III
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Headley @ 1999-11-25  5:00 UTC (permalink / raw)


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 ?

Eric Headley


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dos2unix ? unix2dos ?
  1999-11-25  5:00 dos2unix ? unix2dos ? Eric Headley
@ 1999-11-26  5:00 ` Ed Wensell III
  1999-11-27  5:00   ` werme
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Wensell III @ 1999-11-26  5:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dos2unix ? unix2dos ?
  1999-11-26  5:00 ` Ed Wensell III
@ 1999-11-27  5:00   ` werme
  0 siblings, 0 replies; 3+ messages in thread
From: werme @ 1999-11-27  5:00 UTC (permalink / raw)


>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 ?

They are shipped as part of the OSFDOSTOOLS component and would be in
/usr/bin/mtools if that component is installed.  They're also on
the ASU complementary product.

Hint: when looking for programs by name, try

	grep dos2unix /usr/.smdb./*.inv
--
Ric Werme                            | werme@nospam.mediaone.net
http://people.ne.mediaone.net/werme  |       ^^^^^^^ delete



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-11-27  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-25  5:00 dos2unix ? unix2dos ? Eric Headley
1999-11-26  5:00 ` Ed Wensell III
1999-11-27  5:00   ` werme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox