On 9/22/25 2:25 PM, [email protected] wrote:

With or without eval, or with any combination thereof, you still
won't be able to make a repeat function that covers all the bases.
For example, you won't be able to do this:

repeat { ((x++)); echo $x;}

If you want to use operators in the command, you're going to have to quote
them.


Such a thing can only be done by a bash internal command, like...

It has to be a compound command, yes. Not a builtin.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to