User's Guide for MS-DOS Clients

307
Connecting to a LAN Manager for UNIX Systems Server
Converting Text Files
ud -d f:unixtext | more
In this example, drive F is linked to the server directory, which contains the
UNIXTEXT file, and the more utility is in your path.
Piping is especially useful with MS-DOS commands, such as sort, which
use a carriage return to determine where each line ends in the file. Because
files in UNIX system format do not identify line ends by carriage returns, the
files must be converted to MS-DOS format for the sort command to operate
properly. You can then pipe the converted text to the sort command. For
example, type:
ud -d unixtext | sort
This example displays the sorted text on your screen. To store the results in a
new file called TEXT.SRT, you can use the redirection character ( > ) as
follows:
ud -d unixtext | sort> text.srt