On Wed, 10 Feb 2016 13:36:07 -0700, Jack J. Woehr wrote:

>Paul Gilmartin wrote:
>> In fact, that's a call back to the shell builtin, which:
>>
>> o May involve extra overhead of fork()/exec().
>/bin/sh in OpenBSD is tightly integrated with OpenBSD. It's ksh, not bash or 
>old sh, and it's maintained in the OBSD core.
>
>Probably the most attentive maintenance of ksh left in the world today.
>
Many (all?) Linuxen implement system() not with bash, but with dash, the
Debian Almquist SHell, a streamlined minimalist POSIX (but it lacks command
line editing) shell.  The Dash forum recurrently endures posts such as,
"Please, please, can we have just this extra *little* bash feature?  It's
so useful!"  I generally follow up with:
    http://getreal.typepad.com/.a/6a00d8341fd10e53ef01bb0799d044970d-pi

For your amusement:

user@OS/390.25.00: ln -s /bin/umask foobar
user@OS/390.25.00: ./foobar
foobar: FSUM7768 Not a 'Shell Regular Built-in Utility'

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to