On Thu, Mar 18, 2010 at 4:41 PM, Darren J Moffat <darrenm at opensolaris.org> wrote: > Maybe I don't understand enough about ksh93 (since I'm a zsh user for > interactive shell work) but I don't understand what this case is about. > > What benefit does this case bring ?
First at all you do not go through fork() and be a lot faster. Second you do not have ARG_MAX and other process-based limitations, e.g. the list and size of arguments passed to builtin commands and shell functions is only limited by memory (thank again Roland for giving us a 64bit ksh93 :) ). With builtin our scripts can't trip over the ancient Solaris limits for ARG_MAX (if anyone has time, please file a bug to get ARG_MAX removed completely.). Chris -- ^---^ (@)v(@) Chris Pickett | / IT consultant ===m==m=== pkchris at users.sourceforge.net