On Jul 15, 8:10=A0pm, Intransition <transf... / gmail.com> wrote:
> > #!/bin/sh
> > if [ -n "$myuniquefoovar" ]; then
> > =A0 echo "$myuniquefoovar" # or possibly printf
> > =A0 exit 0
> > fi
> > if [ $# -ne 0 ]; then
> > =A0 myuniquefoovar=3D"$*"
> > =A0 export myuniquefoovar
> > =A0 exec $SHELL
> > fi
> > exit 0
>
> Thanks, I feel like I've gotten a step closer, but still no cigar. I
> was able to get the child shell, which is cool --and I can accept that
> if need to be o get this to work. But I can't get the environment
> variable transfer into the new shell.

Just discovered that capitalized variables (environment variables) are
not transferred. But lowercase variables (shell variables) are.

So this will work! Thanks Bob.