Exporting functions in ksh
Satish Kumar .C
chittamu at umvlsi.ecs.umass.edu
Fri Nov 17 11:52:39 AEST 1989
Does anyone know how to export function definitions to subshells. We
have a problem here in that we define a function is /etc/profile that
is required by most of the system users. But once the user starts up a
X-windows session and runs subshells in the xterm window, the function
is no longer visible. I know, "Add it to the users .kshrc or .profile"
The thing is we want to be able to modify the function without the
users knowing about the change(internal). So my question is, Is there
some way to export functions to subshells. Alias definitely can't be
exported. Any suggestions???
--
-Satish.
chittamu at cs.umass.edu
--
The Theory of Objectivity: E = mc++
More information about the Comp.unix.questions
mailing list