[Top][All Lists]

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

document export x=1 y=$x

From: jidanni
Subject: document export x=1 y=$x
Date: Tue, 18 Mar 2008 01:11:35 +0800

On the man page at section "export", mention that the latter below
will not do what one expects, as here revealed:
$ set -x
$ a=1 b=$a
+ a=1
+ b=1
$ export x=1 y=$x
+ export x=1 y=
+ x=1
+ y=
Yes I'm sure it is mentioned elsewhere on the page but you might want
to drum it home again here. Maybe also at $ help export.

reply via email to

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