Dan Stromberg wrote:
>
> Is there a way of getting "set -o pipefail" to be inherited from a shell
> to its subshell? Or does each subshell have to set it again?
It depends on what kind of subshell you're talking about. Subshells that
don't cause a new copy of the shell to be executed inherit nearly
everything. Other subshells can inherit the values of shell options
by exporting the `SHELLOPTS' variable, as described in the man page.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/