[X-Unix] Console in a Subshell?

Jerry Krinock jerry at ieee.org
Thu Aug 16 16:24:02 PDT 2007


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 


More information about the X-Unix mailing list