News for hackers. Stuff that matters.
Re:Pure sh bible – Posix sh alternatives to external processes by emmelaich on Monday October 19, 2020 @09:02PM (#24832982)
General comment ... I'm hesitant to fiddle with IFS; if the function exits early it can make the rest of the script nonsensical.

Same goes for other 'globals' or externals such as globbing and using tput. You have to be careful to trap errors and return things to sanity.

Re:Pure sh bible – Posix sh alternatives to external processes by cryptonector on Tuesday October 20, 2020 @12:35AM (#24833959)
Use a subshell.