[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash manual

From: V. Mark Lehky
Subject: Re: bash manual
Date: Tue, 17 Oct 2006 08:32:22 +0100
User-agent: Thunderbird (Windows/20060516)


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:

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]