bug-bash
[Top][All Lists]
Advanced

[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 1.5.0.4 (Windows/20060516)

OK,
Thank You, VML.


Chet Ramey wrote:
V. Mark Lehky wrote:
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>?

Sure.  The 2.05b manual is over four years old.  Try
http://cnswww.cns.cwru.edu/~chet/bash/bashref.html
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.

Chet




reply via email to

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