Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe there should be a stdad so it won't be mixed in with the data going to stdout.


This is absolutely the only way such a feature could be sanely realized, and it would require so many invasive changes it is absurd.

Off the top of my head you would need to patch glibc, all the major shells, probably half of coreutils, anything that daemonizes similar to nohup (including screen and tmux, god knows how many CPAN modules), ...


Perhaps you could do it like the bash command time, whose output is a bit hard to capture...


GNU source is never a pleasure to read, but as far as I can tell the bash builtin "times" prints to stdout.

This can be observed by running:

  bash -c 'times whoami' > /dev/null




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: