NetBSD-Users archive

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

Re: Silly shell question



Some ideas to add to your research:

echo $FOO
FOO=def
ksh
echo $FOO
exit
> # FOO=abc
> # export FOO
> # ksh
> # echo $FOO
> abc
> # exit
> # FOO=123
> # ksh
> # echo $FOO
> 123
> # exit
ksh
echo $FOO
unset FOO
echo $FOO
exit
echo $FOO
unset FOO
echo $FOO
ksh
echo $FOO
exit



Home | Main Index | Thread Index | Old Index