Hi,
I can't find this text in my manual. Is there a more recent version somewhere
than <http://www.gnu.org/software/bash/manual/bashref.html>?
So, since 'export -f' apparently does the same thing as 'declare -xf', I'm just
wondering why have two commands do the same thing? Or did I interpret that wrong?
Thanx, VML.
Chet Ramey wrote:
V. Mark Lehky wrote:
Hi,
This is in reference to "Edition 2.5b, last updated 15 July 2002, of The
GNU Bash Reference Manual".
Please, please, please, for the sake of future generations, make the
following addition in two spots in the next release of the manual. I
just spent like three hours hunting this down:
I think the existing text in the Shell Functions section is OK:
Functions may be exported so that subshells
automatically have them defined with the -f
option to the export builtin.
Note that shell functions and variables with the same name may result
in multiple identically-named entries in the environment passed to the
shell's children.
Care should be taken in cases where this may cause a problem.
Chet
_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash