[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bash bug...
From: |
Paul Jarc |
Subject: |
Re: possible bash bug... |
Date: |
Mon, 23 Jul 2001 17:18:38 -0400 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 |
George.R.Goffe@seagate.com writes:
> func1_r=`func2 $func1_v` # set the func1 return variable to
> whatever func2 returns...
> return $func1_r
Backticks capture the output of the contained command. If you want
the exit status, use this:
func2 $func1_v
func1_r=$?
paul