I'm reading a script and i see a lot of exports.
Is there some command to display the exported environment?
The env command does not show them. Only see things made by setenv command.
___
freebsd-questions@freebsd.org mailing list
On Tue, 29 Jan 2013 00:55:02 +0100, Fbsd8 fb...@a1poweruser.com wrote:
The env command does not show them.
Does set or printenv show them?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To
Fbsd8 fb...@a1poweruser.com writes:
I'm reading a script and i see a lot of exports.
Is there some command to display the exported environment?
The env command does not show them. Only see things made by setenv command.
You're not clear on which shell the script is using.
The subject line
On Mon, 28 Jan 2013 18:55:02 -0500, Fbsd8 wrote:
I'm reading a script and i see a lot of exports.
Is there some command to display the exported environment?
Yes, sh's builtin env does this.
The env command does not show them. Only see things made by setenv command.
It seems you're mixing
Lowell Gilbert wrote:
Fbsd8 fb...@a1poweruser.com writes:
I'm reading a script and i see a lot of exports.
Is there some command to display the exported environment?
The env command does not show them. Only see things made by setenv command.
You're not clear on which shell the script is
kpn...@pobox.com wrote:
On Mon, Jan 28, 2013 at 07:41:35PM -0500, Fbsd8 wrote:
This is what I am looking at in a sh script
echo export jail_${jailname}_hostname=\${jailname}\
puts it into the env
and this brings it back out
eval jailname=\\$jail_${jailname}_hostname\
Question is how can I
On 29/01/2013 01:11, kpn...@pobox.com wrote:
On Mon, Jan 28, 2013 at 07:41:35PM -0500, Fbsd8 wrote:
This is what I am looking at in a sh script
echo export jail_${jailname}_hostname=\${jailname}\
puts it into the env
and this brings it back out
eval jailname=\\$jail_${jailname}_hostname\