On Thu, Nov 20, 2008 at 8:49 AM, bardo <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 20, 2008 at 3:04 PM, solsTiCe d'Hiver
> <[EMAIL PROTECTED]> wrote:
>> hi.
>
> Hi, and thanks for answering :)
>
>> (1)
>> why have you dropped the following syntax ${feature%*.jar} in favor of
>> ${feature/.jar} ?
>>
>> it was like that in the source PKGBUILD from Jonathan Wiersma that i
>> showed you at http://aur.archlinux.org/packages.php?ID=19476
>
> If there's a difference between the two, then I don't know it. I just
> sticked to the syntax I currently use in all of my scripts, which by
> the way, if the two are equivalent, looks clearer to me. I've been
> exchanging e-mails with Jonathan for quite some time, now. Yesterday I
> sent him the link to my blog and he still hasn't said anything... I'm
> still waiting for his critics. If he has some to make, that is :)/ syntax is actually for replacement. The syntax above says "replace with nothing". The # and % syntax is for deletion (matching from the front or back of the word, respectively). I doubt there's any real difference as far as performance goes.
