At Tue, 7 May 2019 16:58:38 +0200, Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote: Subject: make: empty expansion if mixing round and curly braces > > I just again starred at a mis-behaving Makefile to notice that (b)make > silently expands a variable to nothing if you mix normal and curly braces, > i.e. $(var} or ${var). This is extremly painful to spot. Not quite so painful with modern emacs on a colour monitor. :) (just alt-tab through the file and watch for purple) Though admittedly difficult to know to do that in most cases. It does become a bit of a habit to do it regularly on any misbehaving though. -- Greg A. Woods <gwoods%acm.org@localhost> +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgp0J2LNkGPAm.pgp
Description: OpenPGP Digital Signature