News for hackers. Stuff that matters.
Re:Delegating complex treatments to filters in shell program... by jstimpfle on Friday May 12, 2017 @12:53PM (#14325606)
I agree with you. I think we are just speaking about different things.

I was more thinking about the things that happen in a configure script, for example. Not a "hoot loop" like a big grep over millions of lines or something.

There are situations in shell code where the difference between a case-match or string-suffix-replace written in shell and a process spawn matters. Not only because forking a process for one simple string operation is wasteful (cost: about 1ms), but also because of the semantic problems that come with child processes (error handling).

There are no comments on this comment yet.