help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Adding missing bash features for safely re-usable bash c


From: adrelanos
Subject: Re: [Help-bash] Adding missing bash features for safely re-usable bash code
Date: Mon, 08 Apr 2013 20:58:05 +0000

Greg Wooledge:
> On Mon, Apr 08, 2013 at 05:51:01PM +0000, adrelanos wrote:
>> What about
>> functions which are supposed to return different strings depending on
>> if/else?
> 
> If you are using the stdout capturing paradigm, nothing prevents you
> from doing so inside an if statement:

What if I am using echo for communicating with the user (output) and
don't want the echo each internal return value to the user?



reply via email to

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