unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



dos2unix(1)							  dos2unix(1)



NAME

  dos2unix - mtools utility to convert a DOS file to UNIX

SYNOPSIS

  dos2unix msdosfile

OPTIONS

  None

OPERANDS

  msdosfile
      Name of the file to convert.

DESCRIPTION

  The dos2unix command converts	a file from DOS	format to UNIX format.	The
  converted file replaces the original file.

  Subdirectory names that contain the '/' or '\' separator are supported.  If
  you use the '\' separator or wildcards, you must enclose file	names in
  quotes to protect them from the shell.

  The mcd command can be used to establish the device and the current working
  directory (relative to DOS), otherwise the default is	A:\.

EXIT STATUS

  The following	exit values are	returned:

  0   Success.

  1   Failure.

ENVIRONMENT VARIABLES

  The following	environment variables affect the execution of dos2unix:

  MCWD
      If set, this variable names the file that	contains the name of the
      current mtools working directory as established by the mcd command.  If
      this variable is not set,	the file $HOME/.mcwd is	used.









FILES

  $HOME/.mcwd
      Contains the name	of the current mtools working directory	as esta-
      blished by the mcd command.  If this file	does not exist,	the default
      mtools working directory is A:\.

  /usr/bin/mtools/mtype
      Executable file

SEE ALSO

  Commands:  mcopy(1), mread(1), mtools(1) mtype(1), mwrite(1)