kayvan@mrspoc.transact.com (Kayvan Sylvan) (08/05/89)
If I define a function, setenv, as an exported function:
setenv() { export $1="$2" ; }
declare -x setenv
Then I examine the export list by typing export with no args, I see
setenv as follows:
declare -xf setenv() {
export $1="$2"
}
This is all fine. Now if I start another bash as a subshell, and use
setenv:
setenv: command not found
P.S. Bash is the greatest shell I have ever used!!!
---Kayvan
Kayvan Sylvan @ Transact Software, Inc. -*- Mountain View, CA (415) 961-6112
Internet: kayvan@Transact.COM -*- UUCP: ...!{apple,pyramid,mips}!mrspoc!kayvan