> Similarly, the definition of $? merely refers to "the most recent pipeline". > "echo $?" is definitely a pipeline, and its expansion is guaranteed to occur > before the expansion of the last $?. How is that guarantee worded? what would you expect from: echo `echo a; exit 3` >`echo /dev/tty; exit 2` $? David -- David Laight: david@l8s.co.uk