aat

git mirror of https://ccx.te2000.cz/bzr/aat
git clone https://ccx.te2000.cz/git/aat
Log | Files | Refs | README

hello3.aat (303B)


      1 @awk data.awk
      2 |END {
      3 @for x in spam
      4 {{get("x.name")}} - {{get("x.value")}}
      5 @  for y in spam
      6 {{ get("x.eggs") + get("y.eggs") }}
      7 @  endfor
      8 @endfor
      9 --------------------
     10 @for n in names
     11 Hello {{get("n.name") (get("n._last") ? "!" : ",")}}
     12 @endfor
     13 
     14 Welcome to the world of {{toupper("awk")}} templating!
     15 |}