beautypg.com

Cudo – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual

Page 292

background image

Using the PCBridge Software

Appendix D

D-14

Convert Text File EOL Characters to UNIX, DOS, or OS-9

Syntax

cudo [] {}

Function

cudo

converts text files from any format to the specified format. You may

specify more than one

.

The end-of-line (EOL) characters are listed below:

Type

EOL Character

Hex

UNIX

0x0a

DOS

0x0d0a

OSĆ9

0x0d

The resulting file overwrites the original file and retains the same
file name.

Functions

Options

Description

Ć?

Display the options, function, and command syntax

Ćd

Convert files to DOS format (default on DOS)

Ćo

Convert files to OSĆ9 format (default on OSĆ9)

Ću

Convert files to UNIX format

Ćc

Add a to the end ofa file

Ćq

Quiet mode

-z

Get list of input file names from stdin

Ćz=

Get list of input file names from

Examples

C:\> cudo -o exec.c init.c irq.c

processing:exec.c

processing:init.c

processing:irq.c

C:\> cudo -qu exec.c init.c irq.c

cudo