Help on bash script?

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Aug 12 02:23:11 GMT 2005


On 2005-08-12 10:16, Xu Qiang <Qiang.Xu at fujixerox.com> 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)



More information about the freebsd-questions mailing list