> However, it seems to be more flexible to revert to an earlier suggestion
> and run poplog via shell script which does
>
> setenv usepop ...
> source $usepop/pop/com/poplog
>
> exec $*
>
One small change would be to do something like:
exec $popsys/`echo $0 | awk -F/ '{print $NF }'` $*
Which would allow you to do '/usr/bin/foo' instead of '/usr/bin/poplog
$popsys/foo'
I'll start looking into some kind of compromise solution that uses more
(but still few) variables, but no scripts, but other than that this seems
like a good solution.
Incidentally, how does winpop11 get by with just a binary? Is that
solution something that can be moved across?
- Andrew
|