Bash capital–non-capital substitution

Colin Watson cjwatson at ubuntu.com
Wed Nov 13 17:40:23 UTC 2013


On Mon, Oct 28, 2013 at 10:53:48AM -0500, W. Scott Lockwood III wrote:
> Interesting. I wonder which is more expensive (in terms of system
> resources) calling sed to do it, or just doing the two step with bash...

As a general rule of thumb, starting another process is going to be the
more expensive option.  The Linux kernel is fast at this compared to
many other Unix systems, but it's still a non-trivial operation.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list