MOTD Restriction List

Populating the MOTD (Message Of The Day) would cause the MOTD to appear on many dialogs that your ClearCase users would see during their use of ClearCase. For example:
 ;Final QA build tonight...;;
You also have the ability to restrict when the MOTD is appended to dialogs by populating the MOTD Restriction List, which restricts what dialogs the MOTD message appears on. You can limit it to Users, Groups, elements, VOBs, replicas, views or times. For example:
 ;Final QA build tonight...; (qa_test*) [/vobs/qa_*];
Show the MOTD, but only to "qa_test*" users while working in any "qa* VOB.

The format for this section is a list of zero or more user-ids, group names, VOBs, replicas, element names, views or times enclosed by semicolons (;). User names are surrounded with Parenthesis (i.e. (cclarke) ), group names are surrounded with brackets (i.e. <groupname>), VOB tags and VOB:replicas are surrounded with square brackets (i.e. [/vobs/a_vob], [\a_vob] or [\some_vob:some_replica]), element names are surrounded with curly braces (i.e. {/vobs/a_vob/foo.c} or {\a_vob\foo.c}, view names are surrounded with percent characters (i.e. %night_build_view% or %import_view%), times are surrounded with at characters (i.e. @D20050211@ or @d4@),


The use of Dynamic Variables names is allowed as well (i.e. so (&) can be used to represent the current VOB_owner).

Pattern matching is allowed as well; the '*' char matches any string, the '?' character match any single chararacter and the '#' character matches any single digit. All users can be represented by a "(*)" string, all groups can be represented as <*> all VOBs can be represented as [*], all elements can be represented as {*} and all views can be represented as %*%:

The use of Alias names is allowed as well; an ~alias may be used to identify a large number of (users), <groups>, {elements}, [VOBs], [VOB:replicas], %views% or @times@. Alias references (i.e. ~interns must have a trailing space after the alias name in the reference.

Example Typeexample
empty list; ;
single user entry; (jmorey) ;
single group entry; <dev> ;
certain groups; <qa_*> <dev_?> ~west_coast ~quam ;
all Windows VOBs; [\*] ;
all UNIX VOBs; [/*] ;
select VOB replicas; [*:atl] [*cm:sfo] ;
multiple entries; (sue) <dev1> [\a_vob] (admin_#) ;
particular elements; {/vobs/a/src/foo.c} {\vob_a\foo.?} ;
select elements; {*.c} {/vobs/*/src/*} ~core_code ;
multiple entries; (sue) <dev1> [\a_vob] (bob) ;
select view; %import_view% ;
multiple view entries; %QA_*% %build_view% ;
select days; @D20050211@ @D3@ ;
select hours; @h1@ @h23@;
all users; (*) ;
all elements; {*} ;