home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
beehive
/
utilitys
/
convert.arc
/
CONVERT.DOC
< prev
next >
Wrap
Text File
|
1990-07-21
|
2KB
|
32 lines
CONVERT: converts text files from one operating system format to another.
version 1.1 Jan 11, 1987 (Microsoft C v4.00) (c) Chris Tham
usage: CONVERT [-r] [-v] [-w] [[[-OPTION] [filename] ... ] ... ]
where OPTION may be one of the following:
st converts CR-LF sequence to CR (mnemonic: System to TRSDOS)
su converts CR-LF sequence to LF (mnemonic: System to Unix)
ts converts CR to CR-LF sequence (mnemonic: TRSDOS to System)
tu converts CR to LF (mnemonic: TRSDOS to Unix)
us converts LF to CR-LF (DEFAULT)(mnemonic: Unix to System)
ut converts LF to CR (mnemonic: Unix to TRSDOS)
System stands for either PC/MSDOS or CP/M environments.
Additional options:
-r renames original file extension to .BAK and replaces original file
with conversion.
-v Verbose output of program progress to stdout.
-w strips off high bit of each character (Wordstar files)
- read from standard input rather than a file.
----------------------------------------------------------------------------
Downloaded as CONVERT.ARC from Bill Bolton's system and ported to CP/M by
Jon Saxton, 29 Apr 87. No version number change. MS-DOS and Microsoft C
compatibility preserved.
Note that the -r option is REQUIRED if you want to output a converted file
to disk. This seems to be deliberate. I would have done it differently and
made disk file output the default action but I was not willing to interfere
with Chris's program more than required to port it.