Unix and Linux Discussions Tagged with dos2unix |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
8,740 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
9,891 |
Red Hat |
|
|
|
6 |
3,826 |
Shell Programming and Scripting |
|
|
|
3 |
6,338 |
Shell Programming and Scripting |
|
|
|
1 |
2,795 |
Shell Programming and Scripting |
|
|
|
5 |
4,587 |
Shell Programming and Scripting |
|
|
|
3 |
2,184 |
Shell Programming and Scripting |
|
|
|
8 |
7,375 |
Shell Programming and Scripting |
|
|
|
4 |
9,386 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,223 |
Shell Programming and Scripting |
|
|
|
1 |
14,268 |
SuSE |
|
|
|
3 |
4,924 |
Shell Programming and Scripting |
|
|
|
6 |
9,220 |
Shell Programming and Scripting |
|
|
|
20 |
10,078 |
Shell Programming and Scripting |
|
|
|
14 |
10,370 |
Shell Programming and Scripting |
|
|
|
2 |
3,850 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
17,053 |
UNIX for Dummies Questions & Answers |
|
|
|
21 |
68,069 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
22,405 |
Shell Programming and Scripting |
|
|
|
1 |
4,152 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,830 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
25,788 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,013 |
UNIX for Dummies Questions & Answers |
dos2unix(1) General Commands Manual dos2unix(1)
NAME
dos2unix - mtools utility to convert a DOS file to UNIX
SYNOPSIS
dos2unix msdosfile
OPTIONS
None
OPERANDS
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: Success. Failure.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of dos2unix: 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
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default
mtools working directory is A:. Executable file
SEE ALSO
Commands: mcopy(1), mread(1), mtools(1) mtype(1), mwrite(1)
dos2unix(1)