1

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

einpoklum
  • 118,144
  • 57
  • 340
  • 684

2 Answers2

0

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.

einpoklum
  • 118,144
  • 57
  • 340
  • 684
0

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 /* ... */.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250