歌代 和正 (Kaz Utashiro)
and 3 contributors

NAME

watchdiff - repeat command and watch the differences

SYNOPSIS

watchdiff option -- command

Options:

        -r, --refresh:1     refresh screen count (default 1)
        -i, --interval=i    interval time in second (default 2)
        -c, --count=i       command repeat count (default 1000)
        -e, --exec=s        set executing commands
        -s, --silent        do not show same result
        -p, --plain         shortcut for --nodate --nonewline
        --[no]date          show date at the beginning (default on)
        --[no]newline       print newline result (default on)
        --[no]clear         clear screen after output (default on)
        --diff=command      diff command used to compare result

EXAMPLES

        watchdiff ifconfig -a

        watchdiff df

        watchdiff --silent df

        watchdiff --refresh 5 --noclear df

        watchdiff -sri1 -- netstat -sp icmp

        watchdiff -e uptime -e iostat -e df

        watchdiff -sr --diff 'sdif --cdif -U100' netstat -S -I en0

        watchdiff -pc18i10r0 date; say tea is ready

AUTHOR

Kazumasa Utashiro

https://github.com/kaz-utashiro/sdif-tools

SEE ALSO

diff(1), cdif(1), sdif(1)