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_${jailnam
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
Lowell Gilbert wrote:
Fbsd8 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 m
Fbsd8 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 implies /bin/sh,
On Tue, 29 Jan 2013 00:55:02 +0100, Fbsd8 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 unsubscribe, send any m
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
http://lists.freebsd.