Brian Candler wrote:
Else you have an explicit loop: e.g.
foreach Foo {
$ git pull origin master:master ... build $ man unlang
last Foo # early termination (if required)
Uh.. yeah. That will be supported eventually. Right now, not so much.
Aside: I would also like to see direct support for accessing control and reply lists without string expansions. Then you could write
if (reply:Service-Type == Framed-User)
(I don't think that's possible today). It would also make the unwieldy 'update' block obsolete:
if (reply:Service-Type == Framed-User) { reply:Framed-Protocol = PPP }
That's useful, but potentially awkward in the current code. I'll take a look as a low priority.
P.S. One other thing for multi-valued attributes: Foo[*] always uses \n as separator and adds \n to the end. It would be useful to be able to join with another character, e.g. Foo[*,] - and be able to suppress the trailing one.
Sure... send a patch for 3.0. Alan DeKok.