Hacker News new | ask | show | jobs
by enriquto 2285 days ago
> Banged my head against the wall once after trying to figure out why Ctrl+D generates some character in bash but I can't send that character in a pipe to simulate termination.

Yes, you can. You just end your stream by closing the pipe.