@@ -310,3 +310,28 @@ With timestamp and new command output:
With fine-grained timestamp and command output diff:
while :; do NEW="$(ls)"; if [ "$NEW" != "$OLD" ]; then date '+%F %T.%N'; diff -U0 <(echo "$OLD") <(echo "$NEW") | sed -n '4,$s/^/ /p'; fi; OLD=$NEW; done