Variable support in 'repeat' command