Artificial intelligent assistant

Long-running pipeline of events I can't get this working on macOS: unbuffer fswatch . | unbuffer xargs echo What am I doing wrong? `fswatch` is like `inotifywait` on other systems.

`xargs`'s internal buffering caused that. This works:


unbuffer fswatch . | xargs -L1 echo "a change:"


or with `stdbuf`:


stdbuf -i0 -o0 -e0 fswatch . | xargs -L1 echo "a change:"

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy c4aa2701a26987e8bb7bc0f8a6119961