G'Day Chet and others,
This dumps core and kills the shell, however, if you filter the diff
through an equivalent sed command it doesn't. Hmmmm.....
compgen -W "$( diff <( compgen -A variable ) <( compgen -A export )\
| awk '{ print $2 }' )"
Thanks,
Doug Kearns