Can I add comments in a config_spec file?

432 Views Asked by At

Does the ClearCase config_spec file syntax support single-line or multi-line comments? If so, how do we mark them?

2

There are 2 best solutions below

0
einpoklum On

Start a line with # to make it a comment.

According to the config_spec on the IBM knowledge center,

Lines that begin with a number sign (#) are comments.

Also remember that empty lines and extra whitespace are ignored, so it's ok to separate comments from commands by empty lines.

0
VonC On

You can see examples of comments (beginning indeed by #) in "Accessing environment variables in Clear Case configuration specification"

# @(#)$Id:243260.jleffler.toru.cs,v 1.1 2011/08/30 15:23:02 jleffler Exp $
#
# Config Spec for Bug 243260 - Blah, blah, blah, blah

element * CHECKEDOUT

There is no multiline comment syntax; like /* ... */.