[jamming] :E broken?

Weber, Daniel DaWeber at harmanbecker.com
Mon Jan 29 23:41:42 PST 2007


Hi all,

given these lines of jam code

   empty = ;
   notEmpty = value ;
   
   echo 111 $(notEmpty) 111 ;
   echo 222 $(empty) 222 ;
   echo 333 $(notEmpty:E=$(empty)) 333 ;
   echo 444 $(notEmpty:E=$(empty:E=)) 444 ;
   
I'd expect the following output:

   111 value 111 
   222 222 
   333 value 333 
   444 value 444 

the :E on line 3 does not have to be evaluated since 
$(notEmpty) is not empty.

But jam taught me otherwise:

   111 value 111 
   222 222 
   333 333 
   444 value 444 

Am I missing something? Has anyone else encountered this?
If it really is a bug, maybe someone out there already 
fixed it?

We are using jam 2.5.

Kind Regards,
Daniel


*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************



More information about the jamming mailing list