Do I really need to workaround with a “useless” function? Or is there is simpler way?
thx
Works OK:
> lmap x {a b c} {string trim cmd.$x}
cmd.a cmd.b cmd.c
NOK:
> lmap x {a b c} {return cmd.$x}
cmd.a
NOK:
> lmap x {a b c} {return -code return cmd.$x}
cmd.a
NOK:
> lmap x {a b c} {return -code continue cmd.$x}
cmd.a