The Graham Utilities for OS/2 - Version 2


[Warpspeed]

[Table of Contents] [Index] [Previous] [Next]


ToUNIX - OS/2 to UNIX text conversion utility

Summary

ToUNIX converts OS/2 text files to UNIX text files.

Icon

Command Line Format

Usage: ToUNIX <File In> [File Out]

Description

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.

Examples

ToUNIX ZOO.DOC ZOO.MAN
ToUNIX 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.A
Convert the file E:\OS2\SOURCE\SYSTEM.ASM to the UNIX file E:\UNIX\SOURCE\SYSTEM.A.
ToUNIX RFC1035.TXT
ToUNIX will convert the OS/2 file RFC1035.TXT and all output will be sent the console.
ToUNIX RFC1035.TXT | Clipbrd
The OS/2 file RFC1035.TXT will be converted and the output will be piped into the system clipboard using the Clipbrd program.