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 chet@case.edu http://tiswww.cwru.edu/~chet/