ToUNIX converts OS/2 text files to UNIX text files.
Usage: ToUNIX <File In> [File Out]
ToUNIX converts text files from OS/2 (and DOS) systems (which use a carriage return and line feed character pair to indicate the end of line) to UNIX systems (which use a single line feed character to signal the end of a line).
ToUNIX takes two parameters. The first File In is the file to convert. The second parameter [File Out] is optional. If the second parameter is given, the converted file will be saved to the specified file. If the second parameter is not given, the output is sent to the console. When the output is sent to the console, it may be piped into another program.
FromUNIX is the complement to this program.
ToUNIX ZOO.DOC ZOO.MANToUNIX will read the OS/2 file ZOO.DOC and convert it to the UNIX file ZOO.MAN.
ToUNIX E:\OS2\SOURCE\SYSTEM.ASM E:\UNIX\SOURCE\SYSTEM.AConvert the file E:\OS2\SOURCE\SYSTEM.ASM to the UNIX file E:\UNIX\SOURCE\SYSTEM.A.
ToUNIX RFC1035.TXTToUNIX will convert the OS/2 file RFC1035.TXT and all output will be sent the console.
ToUNIX RFC1035.TXT | ClipbrdThe OS/2 file RFC1035.TXT will be converted and the output will be piped into the system clipboard using the Clipbrd program.