<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Tech-Recipes - Latest Comments in Bourne/bash shell script functions | Bourne shell scripting | Tech-Recipes</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><language>en</language><lastBuildDate>Wed, 30 Sep 2009 05:21:36 -0000</lastBuildDate><item><title>Re: Bourne/bash shell script functions | Bourne shell scripting | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/541/bournebash-shell-script-functions/#comment-17833253</link><description>You can use return to return the result generated within a function. Please read more about this within the following URL:&lt;br&gt;&lt;br&gt;&lt;a href="http://www.faqs.org/docs/abs/HTML/functions.html" rel="nofollow"&gt;http://www.faqs.org/docs/abs/HTML/functions.html&lt;/a&gt;&lt;br&gt;(Example 23-3. Maximum of two numbers)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Penton</dc:creator><pubDate>Wed, 30 Sep 2009 05:21:36 -0000</pubDate></item><item><title>Re: Bourne/bash shell script functions | Bourne shell scripting | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/541/bournebash-shell-script-functions/#comment-17172378</link><description>i found some problem with the second code &lt;br&gt;so i modified like this :)&lt;br&gt;&lt;br&gt;#!/bin/bash&lt;br&gt;sum()&lt;br&gt;{	&lt;br&gt;	if [ -z "$2" ]&lt;br&gt;	then &lt;br&gt;		echo "sum: $1"&lt;br&gt;	else &lt;br&gt;		local a=`expr $1 + $2`&lt;br&gt;		shift 2&lt;br&gt;		sum $a $@&lt;br&gt;	fi&lt;br&gt;}&lt;br&gt;sum 3 5 34</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">neerajnandwana</dc:creator><pubDate>Wed, 23 Sep 2009 01:46:18 -0000</pubDate></item><item><title>Re: Bourne/bash shell script functions | Bourne shell scripting | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/541/bournebash-shell-script-functions/#comment-13652811</link><description>The article was very useful. Thanks a ton !!!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vaiju</dc:creator><pubDate>Thu, 30 Jul 2009 05:52:12 -0000</pubDate></item><item><title>Re: Bourne/bash shell script functions | Bourne shell scripting | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/541/bournebash-shell-script-functions/#comment-4080125</link><description>wat will be the output of &lt;br&gt;[-z "$2"]; echo $;&lt;br&gt;sh amit</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Khushbu</dc:creator><pubDate>Mon, 01 Dec 2008 02:06:52 -0000</pubDate></item><item><title>Re: Bourne/bash shell script functions | Bourne shell scripting | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/541/bournebash-shell-script-functions/#comment-3928726</link><description>simple to understand and very good for bushing up the unix</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kishroe</dc:creator><pubDate>Fri, 21 Nov 2008 00:57:02 -0000</pubDate></item></channel></rss>