[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 14:31:57 +0100
User-agent: Thunderbird (Windows/20060516)

Thank You, VML.

Chet Ramey wrote:
V. Mark Lehky wrote:

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>?

Sure.  The 2.05b manual is over four years old.  Try
for the current (bash-3.2) edition.

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?

`export' exists because it is historical and because POSIX requires it.
`declare' is a way, much like the ksh `typeset', to have one mechanism
to manipulate variables and their attributes.


reply via email to

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