|
NAMEtuc —
Text to Unix Conversion (v1.10)
SYNOPSIS
DESCRIPTIONThetuc utility converts text files from DOS, or
any operating system to UNIX
style text files. As of version 1.10, it optionally converts files to DOS
style text files.
Because of that, The USAGEConverting to UNIXTo convert a file to UNIX text file simply enter:
Inputfile is a text file created in any
operating system. It can use any combination of If no outputfile is specified, the output is
sent to stdout. Similarly, if no
inputfile is listed, If you wish to read input from stdin but
send output to a file, use the
You may also use the Converting to DOSStarting with version 1.10,tuc can also convert
UNIX files, or files created under any operating
system, to DOS style text files. This requires the -d
or -D switch, with a subtle difference between the
two. Which switch you should use depends on the operating system.
You only need ExamplesSave the output of a UNIX program to a DOS text file:
Save the output of a DOS program to a UNIX text file:
Filter the output of a DOS program as input to a UNIX program:
Filter the output of a UNIX program as input to a DOS program:
SEE ALSOcat(1), more(1)HISTORYBothtuc and this manual page were written by G. Adam
Stanislav <adam@whizkidtech.net>.
Visit the GSP FreeBSD Man Page Interface. |