|
From: | DJ Mills |
Subject: | Re: [Help-bash] Adding missing bash features for safely re-usable bash code |
Date: | Mon, 8 Apr 2013 13:15:15 -0400 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |