Posted in bash Forget About return, love echo Posted on October 5, 2010 by nagp in bash functions. To return a value, use echo $val and take its output at the caller side. Returns suck!! Share this:FacebookXLike Loading... Related Author: nagp View All Posts