Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Issue with built-in cvsignore patterns

6 views
Skip to first unread message

Gregor N. Purdy

unread,
Nov 10, 2000, 3:00:00 AM11/10/00
to
I'd like to question the presence of the cvsignore pattern '_$*'
as listed in doc/cvs.texinfo in the cvs 1.11 distribution. I think
this is intended to match files with names like '_$foo' and '_$',
but instead it matches (only?) the file '_' on my system under
ksh and sh. This is probably due to '$' being taken as end-
of-string in the matching algorithm. To get the behavior I
think is intended, I have to use the pattern '_\$*'.

The other pattern with '$' in it is '*$', which does appear to
find names ending in '$' on my system (despite the issue
above). I think the patterns used in cvsignore should work
as-is on shells. The system I'm doing this on doesn't have
bash installed, or I would have tried that, too.


Regards,

-- Gregor

0 new messages