News for hackers. Stuff that matters.
Re:Watch – A Useful Linux Command You May Have Never Heard Of by Someone on Wednesday October 27, 2010 @03:35AM (#1837685)
Yes, that is what I was complaining about. An alternative, consistent with 'at', could be 'every':

  *every 2s ls*

  *echo "ls" | every 5m
For readability, I would then drop the default for the time interval; the command without the time interval (every ls) reads awfully.

And yes, that first way of specifying what to repeat is different from the way at does it. I am not sure I would want to follow 'at' in that respect.

There are no comments on this comment yet.