Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!mrspoc.transact.com!kayvan From: kayvan@mrspoc.transact.com (Kayvan Sylvan) Newsgroups: gnu.bash.bug Subject: Exoprted functions don't Message-ID: Date: 5 Aug 89 02:46:24 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 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