On Jul 15, 6:19 ¨Âí¬ ÂïÐòïõìø ¼â®®®Àðòïõìø®ãïí÷òïôåº > Have foo set an environment variable and then exec a new shell. ¨Âèå > foo script later can print the variable if it exists. ¨Âåòéó > something off the top of my head. ¨Âîôåóôåä® ¨Âóðá÷îó îåóèåì> though and that may be too disruptive for your needs. > > Bob > > #!/bin/sh > if [ -n "$myuniquefoovar" ]; then > echo "$myuniquefoovar" # or possibly printf > exit 0 > fi > if [ $# -ne 0 ]; then > myuniquefoovar="$*" > export myuniquefoovar > 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.