help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] How to get all the return status in an assignment statem


From: Eduardo A . Bustamante López
Subject: Re: [Help-bash] How to get all the return status in an assignment statement?
Date: Tue, 24 Mar 2015 18:21:42 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

The work around is trivial, use intermediate steps:

a=$(c1); echo $?
b=$(c2); echo $?
x=$a/$b

-- 
Eduardo Bustamante | https://dualbus.me/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]