Re: [Sccs-devel] small bug in sccsdiff
The UNIX Source Code Control System activelty maintained/enhanced
Brought to you by:
schily
|
From: Joerg S. <Joe...@fo...> - 2018-03-07 09:36:22
|
>ca. line 131, the pattern '*s.*' matches e.g. filename text "mess.c",
>but shouldn't (that filename
>is not an SCCS file). The pattern should be '^s.*|*/s.*'. That would
>still incorrectly match a
>path containing a directory or subdirectory beginning with "s.", but
>presumably SCCS
>users wouldn't create such a directory... No change to the
>documentation is necessary.
Hi,
^ does not work as a wildchart in the shell language, but
s.*|*/s.*
would work.
Since this needs to match the whole string, it works as you intend.
Thank you for the hint.
Jörg
--
EMail:jo...@sc... (home) Jörg Schilling D-13353 Berlin
joe...@fo... (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'
|