wtch periodically runs a shell command COMMAND and watches its output. When it changes it runs shell command ACTION. More precisely, it runs ACTION when a specified event occurs. The event can be a change of COMMAND's output, a change matching a certain pattern, or its negation, output equal to some previous output, etc. The output pattern defining an event is set by the --pattern option. By default, it simply detects any COMMAND output change.