As you have found out, `mawk` buffers its input, so you would probably see effects once your total notify messages have reached some k. The linked article suggests that mawk has a `-Winteractive` flag to disable it, but I am in position to check that.