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

Page 292

Advertising
background image

Using the PCBridge Software

Appendix D

D-14

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

Syntax

cudo [<opts>] {<file name>}

Function

cudo

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

specify more than one

<file name>

.

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

Type

EOL Character

Hex

UNIX

<LF>

0x0a

DOS

<CR><LF>

0x0d0a

OSĆ9

<CR>

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 <ctrl Z> to the end ofa file

Ćq

Quiet mode

-z

Get list of input file names from stdin

Ćz=<file>

Get list of input file names from <path>

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

Advertising