DOS2UNIX/UNIX2DOS - Win32 utilities to convert single files from
MS-DOS to Unix format or Unix to MS-DOS format.
Introduction
------------
MS-DOS and Unix systems use different methods to identify end-of-line
information in text files. MS-DOS, including Windows 9x/ME/NT/2000, use a
carriage return/linefeed pair (CR/LF), whilst Unix only uses the LF
character.
DOS2UNIX.EXE and UNIX2DOS.EXE are small Win32 console-mode file conversion
utilities. DOS2UNIX.EXE converts MS-DOS text files to Unix format, by
stripping any CR or end-of-file (Ctrl-Z) characters from the data.
UNIX2DOS.EXE inserts a CR character when it encounters an LF character,
converting the data to MS-DOS format.
The source code for these utilities was obtained via the Internet. The
original author of the code is unknown. The utilities have been converted to
run on Win32 systems, using Microsoft Visual C/C++ v6.0. The code has been
modified so that it compiles cleanly and executes as expected. A small amount
of additional code has been added to aid failure reporting when the utilities
are used in batch scripts and a small bug in the UNIX2DOS code was fixed in
August 2000. In all other respects the source code is unchanged from its
original release date, sometime during 1989.
Usage
-----
The programs have been written primarily for use within Windows 9x/ME/NT/2000
console window sessions (ie: COMMAND.COM/CMD.EXE), but may also be used
within batch scripts (BAT/CMD files, Perl scripts etc.).
DOS2UNIX.EXE
------------
To convert a file from MS-DOS to Unix format, DOS2UNIX.EXE is executed using
the syntax:
DOS2UNIX <file to be converted>
for example:
DOS2UNIX dosdata.txt
UNIX2DOS.EXE
------------
To convert a file from Unix to MS-DOS format, UNIX2DOS.EXE is executed using
the syntax:
UNIX2DOS <file to be converted>
for example:
UNIX2DOS unixdata.txt
Messages
--------
During execution, the programs may display any of the following messages.
---> Processing file <file being converted> ...
This message indicates normal progress.
---> Can't stat <file to be converted>.
This message indicates that the file to be converted cannot be found. Check
that the name of the file, including any path/relative path information is
correct, then try again.
---> Problems processing file <file to be converted>.
A problem was encountered during the file conversion process. The resultant
data should be considered suspect.
---> Problems renaming <temporary file> to <file being converted>.
However, file <temporary file> remains.
During the conversion process, a temporary work file is created containing
the converted data. The above message indicates that there was a problem
renaming the temporary file at the end of the conversion process so that it
has the name of the original file being converted. The converted data should
however exist in the temporary file left behind at the end of the failed
conversion.
Points to note
--------------
1) If a file conversion failure occurs, both utilities will return an
errorlevel of one, allowing the results of the conversion process to be
examined within a standard Windows 9x/ME/NT/2000 batch script.
2) The programs are not coded to deal with Windows NT/2000 file system
permissions. Unpredictable results may occur if insufficent permissions exist
for the utilities to read/write data as required.
3) The programs are intended to process text data files only. Unpredictable
results will occur if other, non-text, file types are specified for
conversion.
4) As the utilities preserve the original file name of the converted file,
the input file is effectively destroyed. It is essential therefore to backup
any data files to be processed before starting any conversion, in case a
problem occurs which leaves the original data in an unusable state.
Known problems
--------------
Problems may be experienced when attempting to convert text files 2GB or
greater in size. The author has received one report of such an issue with
DOS2UNIX.EXE.
Testing
-------
The programs have been tested on Windows NT 3.51 with service pack #5
applied, Windows NT4.0 with various service packs applied, Windows 2000 and
Windows 95 OSR2. The programs should also execute on Windows 98/98SE, but
this has not been verified.
License/disclaimers
-------------------
See file LICENSE.TXT for further information. All registered trade marks etc.
are acknowledged.
Author's contact details
------------------------
Clem Dye
clem@bastet.com
没有合适的资源?快使用搜索试试~ 我知道了~
delphi7 indy10.2.3控件
共2000个文件
bmp:559个
txt:510个
pas:494个
1星 需积分: 50 73 下载量 60 浏览量
2018-05-25
15:04:09
上传
评论 1
收藏 8.53MB ZIP 举报
温馨提示
亲自试验过,好用。 安装步骤:1、在D7的目录下,双击Borland Delphi7.msi文件。 2、在弹出的对话框中选“Modify”。 3、然后点“Next”,在接下来的对话框中,找到Indy,点“Do Not Install”。之后一路“Next”,最后完成,就卸载成功了。
资源推荐
资源详情
资源评论
收起资源包目录
delphi7 indy10.2.3控件 (2000个子文件)
Fullc5.bat 6KB
Fullc6.bat 5KB
Fullc4.bat 5KB
Fulld10.bat 2KB
Fulld7.bat 2KB
Fulld9.bat 2KB
Fulld6.bat 2KB
Fulld5.bat 2KB
Clean.bat 791B
makedcr.bat 422B
makedcr.bat 388B
build.bat 66B
makeres.bat 40B
Indy.Sockets.bdsproj 40KB
Indy.Sockets.bdsproj 37KB
Indy.SocketsDebug.bdsproj 33KB
IndyProtocols100Net.bdsproj 30KB
IndyProtocols90Net.bdsproj 26KB
VersionMarker.bdsproj 19KB
PkgGen.bdsproj 19KB
IndyCore90.bdsproj 18KB
LazPkgGen.bdsproj 18KB
IndySystem90.bdsproj 18KB
DistPasFileList.bdsproj 17KB
IndyCore90Net.bdsproj 16KB
IndyCore100Net.bdsproj 15KB
dclIndyCore90.bdsproj 14KB
IndyProtocols90.bdsproj 14KB
dclIndyCore100Net.bdsproj 13KB
dclIndyProtocols90.bdsproj 13KB
dclIndyProtocols90Net.bdsproj 12KB
dclIndySecurity90Net.bdsproj 12KB
IndySecurity100Net.bdsproj 12KB
IndySystem80Net.bdsproj 12KB
IndySecurity90Net.bdsproj 11KB
dclIndySecurity100Net.bdsproj 11KB
DsnIndy90.bdsproj 11KB
ResxBuilder.bdsproj 10KB
dclIndyProtocols100Net.bdsproj 10KB
dclIndyCore90Net.bdsproj 10KB
IndySystem100Net.bdsproj 10KB
IndySystem90Net.bdsproj 10KB
DsnIndy.bdsproj 9KB
IndyNetTest.bdsproj 8KB
dclIndyProtocols100.bdsproj 8KB
dclIndyCore100.bdsproj 8KB
IndyProtocols100.bdsproj 8KB
IndySystem100.bdsproj 8KB
IndyCore100.bdsproj 8KB
IndyCar.bmp 273KB
Sink.bmp 272KB
1sinkPlainCroppedRed.bmp 154KB
TIDABOUTPICTURE.BMP 84KB
speedlimit.bmp 4KB
TIdMessageDecoderMIME.bmp 2KB
TIdHTTPProxyServer.bmp 2KB
TIdMessageEncoderMIME.bmp 2KB
tIdEncoderUUE.bmp 2KB
TIdIOHandlerStream.bmp 2KB
TIdSASLExternal.bmp 2KB
TIDUDPSERVER.BMP 2KB
TIdNNTP.bmp 2KB
TIdTelnet.bmp 2KB
TIdMBCSDecoder.bmp 2KB
TidchargenUDPserver.bmp 2KB
TIdSysLogMessage.bmp 2KB
TIdDICT.bmp 2KB
TIdSchedulerOfFiber.BMP 2KB
TIdSocksServer.bmp 2KB
TIDGOPHERSERVER.bmp 2KB
TIdSystatUDPServer.bmp 2KB
TIdSNPP.bmp 2KB
TIDIPWATCH.BMP 2KB
TIdLogFile.bmp 2KB
TIdThreadComponent.bmp 2KB
TIDTCPSERVER.BMP 2KB
TIdConnectionInterceptOpenSSL.bmp 2KB
TIdSASLOTP.bmp 2KB
TIdSNMP.bmp 2KB
TIdServerInterceptLogFile.bmp 2KB
TidechoUDP.bmp 2KB
TIdSystatUDP.bmp 2KB
TIdSASLSKey.bmp 2KB
TIdSASLAnonymous.bmp 2KB
TIdSASLCRAMMD5.bmp 2KB
TIDDNSServer.bmp 2KB
TIdUnixTimeUDP.bmp 2KB
TIdMessageEncoderYenc.bmp 2KB
TIdMappedPop3.bmp 2KB
TIdBlockCipherIntercept.bmp 2KB
TIDUDPCLIENT.BMP 2KB
TIdSystat.bmp 2KB
TIdDecoderXXE.bmp 2KB
TIdTunnelMaster.bmp 2KB
TIdDecoderMIME.bmp 2KB
Tidqotd.bmp 2KB
TIdFTPServer.bmp 2KB
TiddaytimeUDPserver.bmp 2KB
TIdPOP3Server.bmp 2KB
TIDHTTPSERVER.BMP 2KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- qq_345435592023-04-19安装不了,什么介绍都没有,找不到可运行的安装包
- joanagle2020-08-24假的,根本不能用,浪费我积分
weixin_41130642
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功