1 # Jamfile for 99 Bottles of beer on the wall.
2 # David Brandon (brandon@aspentech.com)
8 if $(1) = 1 { return "" ; } else { return "s" ; }
16 b = [ SorSS $(beers) ] ;
17 Echo "$(beers) bottle$(b) of $(<) on the wall, $(beers) bottle$(b) of $(<)." ;
18 beers = [ ExprI1 $(beers) - 1 ] ;
20 Echo "Take one down and pass it around, no more bottles of $(<) on the wall." ;
22 Echo "No more bottles of $(<) on the wall, no more bottles of $(<)." ;
23 Exit "Go to the store and buy some more, 99 bottles of $(<) on the wall." ;
25 b = [ SorSS $(beers) ] ;
26 Echo "Take one down and pass it around, $(beers) bottle$(b) of $(<) on the wall." ;