News for hackers. Stuff that matters.
Re:Bash functions are better than I thought by quotemstr on Sunday October 31, 2021 @08:24PM (#29061832)
What on earth does grep have to do with side effects?
Re:Bash functions are better than I thought by chaps on Sunday October 31, 2021 @08:36PM (#29061904)
And what makes you think side effects aren't possible in the model described?

Think of grep as a way to control flow. If one side effect happens, send to stdout one thing. Another side effect, send something else. Then iterate over those outputs.