Given that you're tracing setting a variable, isn't it also
worthwhile generating an event for "unset"?

e.g. if a dtrace script is following variable assignments
and my shell script does this:

FOO=bar
unset FOO
echo ${FOO}

the dtrace script's idea of the state of affairs when echo
is executed is going to be quite different to the shell's.

Darren


Reply via email to