Even with using a hardcoded name it still doesnt give you the required result because those braces {} are gone.

Compare:

//timer 1 0 if (5 == 6) { echo -a inside braces $(|,) echo -a still inside braces }

--> it echoes "still inside braces" whilst it shouldn't as 5 != 6

with

//timer 1 0 if (5 == 6) $({,) echo -a inside braces $(|,) echo -a still inside braces $(},)

--> works correctly


To anyone reading these posts: do not put code in a timer but in an alias, unless you are experienced enough to know all of its possible pitfalls and associated dangers.


Gone.