09.06.2013 Views

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>XENIX</strong> Programming Programming Commands<br />

cdc (continued)<br />

MRs in a list are separated by blanks and/or tab characters. An unescaped<br />

newline character terminates the MR list.<br />

Note that if the v flag has a value (see admin), it is taken to be the name of<br />

a program or shell procedure that validates the correctness of the MR<br />

numbers. If a nonzero exit status is returned from the MR number validation<br />

program, cdc terminates, and the delta commentary remains unchanged.<br />

-y[comment]<br />

Arbitrary text used to replace the comment(s) already existing for the delta<br />

specified by the -r option. The previous comments are kept and preceded by<br />

a comment line stating that they were changed. A null comment has no<br />

effect.<br />

If -y is not specified and the standard input is a terminal, the prompt<br />

comments? is issued on the standard output before the standard input is read;<br />

if the standard input is not a terminal, no prompt is issued. An unescaped<br />

newline character terminates the comment text.<br />

In general, if you have made the delta, you can change its delta commentary; if you own<br />

the file and directory, you can modify the delta commentary.<br />

Examples<br />

The following com mand<br />

cdc - r1.6 - m"bl78-1 2345 !bl 77-54321 bl79-00001" - ytrouble<br />

s.file<br />

adds bl78-12345 and bl79-00001 to the MR list, removes bl77-54321 from the MR list,<br />

and adds the com ment trouble to delta 1.6 of s.file. The following interactive sequence<br />

has the same effect:<br />

cdc -r1.6 s.fi le<br />

MRs? !bl77-54321 b1 78-1 2345 bl79-00001<br />

comments? trouble<br />

Warning<br />

If sees file names are supplied to the cdc command via the standard input (-on the<br />

command line), then the -m and -y options must also be used.<br />

B-29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!