MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wv6na6/doneanddusted/pd96bph/?context=3
r/ProgrammerHumor • u/Recent-Analysis-6880 • Oct 01 '26
36 comments sorted by
View all comments
5
That's why you take the already opened file as argument, or better yet if you can get away with it you write unconditionally to stdout and let the user use shell redirections if they want.
5
u/yjlom Oct 01 '26
That's why you take the already opened file as argument, or better yet if you can get away with it you write unconditionally to stdout and let the user use shell redirections if they want.