Laine Stump wrote:
> Do this instead:
>
> ^bbb script1 .....
> ^aaa script2 .....
>
> "^" makes sure that the "bbb" or "aaa" is at the beginning of the
> directory name. Note that the "/*" isn't doing what you think - it's
> matching "0 or more '/' characters". Remember, these are *real*
> regexes, not shell pathname wildcards...
Even better, use
^bbb\(/\|$\) script1 .....
^aaa\(/\|$\) script2 .....
The '\(/\|$\)' is the CVS regex incantation to match "'/' or the end of the
line" and should guarantee you match a complete directory name and not a
substring of another directory. I'll probably check a few examples into the
manual soon. I think CVS uses the same regex mumbo jumbo sed uses if you want a
man page.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com )
--
If [my] opinions are sound, they will occur to others, and will prevail by
their own weight, without the aid of names.
- Thomas Jefferson to Samuel Kercheval, 1816
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs