Please find attached a port for cmdseq-0.2
<https://tratt.net/laurie/src/cmdseq/>:

  cmdseq allows users to execute interleaved sequences of commands. Assuming
  the same counts and commands, on each execution cmdseq executes one of the
  commands, cycling through the sequence and wrapping back to the beginning
  when it is complete. For example, consider the following sequence:

    $ cmdseq 2 "echo cmd1" 1 "echo cmd2"
    cmd1
    $ cmdseq 2 "echo cmd1" 1 "echo cmd2"
    cmd1
    $ cmdseq 2 "echo cmd1" 1 "echo cmd2"
    cmd2
    $ cmdseq 2 "echo cmd1" 1 "echo cmd2"
    cmd1


Laurie

Attachment: cmdseq.tgz
Description: application/tar-gz

Reply via email to