Include disabled options in the output of 'set +o'. POSIX says the output of
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 14 Jan 2007 04:41:32 +0000 (04:41 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 14 Jan 2007 04:41:32 +0000 (04:41 +0000)
commit675605958e27abb48f9fb925a91376d61a3f7637
tree789aea66baf3d609afcbbe3cf45bc7d0f9776744
parent10b71016fab0736d5e1ac4094e8957316a6cb0ee
Include disabled options in the output of 'set +o'.  POSIX says the output of
set +o can be used to reload previous settings, for this to work disabled
options must be printed as well or otherwise options that were set in the mean
time won't be turned off.

Change /bin/sh so *it* implements the processing needed for scripts to
work as expected when they have a "shebang line" of:

     #!/bin/sh -- # -*- perl -*- -p

Obtained-from:  FreeBSD
bin/sh/options.c