On 2005-08-12 10:16, Xu Qiang <[EMAIL PROTECTED]> wrote:
> Btw, can we "export" a value in the sub-shell back to the parent?

Only through `backquote subtitution', as the child process cannot affect
the environment of the parent process.

        value=`shell command`
        value=$(shell command)

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to