Julia Evans on Nostr: a thing i find annoying about this buffering behaviour is that often when you ...
a thing i find annoying about this buffering behaviour is that often when you interrupt a program, it'll flush its output buffers, so you can see the output.
but not when pipes are involved! When you `Ctrl-C` something like
`sudo tcpdump -ni any port 53 | grep example.com`
if there was anything stuck in the buffer you just never see it! I think this might be unavoidable because `grep` exits first (?) but it's still annoying.
(again please do not reply to this explaining buffering to me)
but not when pipes are involved! When you `Ctrl-C` something like
`sudo tcpdump -ni any port 53 | grep example.com`
if there was anything stuck in the buffer you just never see it! I think this might be unavoidable because `grep` exits first (?) but it's still annoying.
(again please do not reply to this explaining buffering to me)