On 2007 Aug, 16, at 15:32, Brian Medley wrote: > You're capturing output. If youw ant the return value do > something like: > > perlscript.pl arg1 arg2 > echo $? Thank you, Brian. Makes sense and works. I didn't know that bash had handy built-in variables like perl does. It's kind of hard to Google for documenation on "?", but apparently "?" is in bash like "_" is in perl. Very handy. Jerry