[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 15:52:39 +0000 |
Greg Wooledge:
> On Mon, Apr 08, 2013 at 03:19:28PM +0000, adrelanos wrote:
>> What are the missing features in bash for writing easily, safely
>> re-usable bash code?
>
> In my opinion the biggest one is the ability to pass variables by
> reference, which is coming in bash 4.3 Real Soon Now.
>
> If you can think of others, speak up.
>
I miss a feature to return non-integers from bash functions, i.e. to
return strings from bash functions.
my_bash_function() {
return "some_string"
}
string="`my_bash_function`"
There are workarounds, yes, but nothing as simple as the one liner.
- Re: [Help-bash] starting a central bash script repository, (continued)
Re: [Help-bash] starting a central bash script repository, Pierre Gaston, 2013/04/08
- [Help-bash] Adding missing bash features for safely re-usable bash code, adrelanos, 2013/04/08
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code, Greg Wooledge, 2013/04/08
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code,
adrelanos <=
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code, DJ Mills, 2013/04/08
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code, adrelanos, 2013/04/08
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code, Greg Wooledge, 2013/04/08
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code, Eric Blake, 2013/04/08
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code, Pierre Gaston, 2013/04/09
- Re: [Help-bash] Adding missing bash features for safely re-usable bash code, John Kearney, 2013/04/09
Re: [Help-bash] Adding missing bash features for safely re-usable bash code, adrelanos, 2013/04/08
Re: [Help-bash] Adding missing bash features for safely re-usable bash code, Greg Wooledge, 2013/04/08
Re: [Help-bash] Adding missing bash features for safely re-usable bash code, John Kearney, 2013/04/08
Re: [Help-bash] Adding missing bash features for safely re-usable bash code, Greg Wooledge, 2013/04/09