It's not a bug, but as they say a feature: gawk tests if stdout is a tty at startup. If so, all writes are flushed. This produces the effect which you see. However, it makes gawk slower than it might be.
mawk has an option -W interactive which makes stdout unbuffered (with the corresponding performance issue). mawk's behavior is documented (in the manpage). gawk's behavior isn't documented in its manpage. ** Changed in: mawk (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/382602 Title: tail piped to awk not processing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/382602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs