Subject: Re: CVS commit: pkgsrc/pkgtools/pkglint/files
To: Christoph Badura <email@example.com>
From: Roland Illig <rillig@NetBSD.org>
Date: 06/07/2006 01:05:13
Christoph Badura wrote:
> On Wed, May 31, 2006 at 08:59:13AM +0000, Roland Illig wrote:
>> pkgsrc/pkgtools/pkglint/files: pkglint.pl
>>Using the := operator has subtle effects on the number of '$' characters
>>in strings. So don't use them.
> Because Perl doesn't have a := operator, I was wondering what this message
> might be about.
It is about the := operator of make(1).
> - "shell commands starts.");
> + "shell commands starts.",
> + "",
> + "Additionally, each \$\$ is replaced with a single \$, so variables",
> + "that have references to shell variables or regular expressions are",
> + "modified in a subtle way.");
You are citing a change without enough context. "cvs diff -U20" might
make it clear what the change does and why it matches the log message.
Reading it again, I might improve the warning a little bit, but that
doesn't matter here.
> Hmm, seems you are starting to use '$' characters in strings. That makes
> no sense at all.
In Perl, using '$' characters is no problem.