[m-dev.] diff: use .nocopyright files to control copyright checks.

Zoltan Somogyi zs at cs.mu.OZ.AU
Thu Aug 17 15:31:26 AEST 2000


On 17-Aug-2000, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> +				if ($_ =~ /^$file/) {
> +					print "no copyright check required for `$file' (from `$directory')\n";
> +					return 0;
> +				}

You should anchor the pattern match not only on the left (start of line),
but also on the right (end of line).

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list