Re: Need help for bash function return value

2012-10-15 Thread Greg Wooledge
On Mon, Oct 15, 2012 at 10:04:39AM +0800, Tinni wrote: > Thank you so much  for your reply and  explanation. > > >>So, you're trying to retrieve 3 separate (string?) values from a remote > system. > > Yes. > > >> Why not simply prompt the user for the > information on the local system and skip t

Re: Need help for bash function return value

2012-10-12 Thread Allodoxaphobia
On Thu, 11 Oct 2012 20:01:40 -0700 (PDT), Tinni wrote: > > I am very new to the shell scripting.. Need some pointers for getting > the return value in shell scripting. comp.unix.shell

Re: Need help for bash function return value

2012-10-12 Thread Greg Wooledge
On Thu, Oct 11, 2012 at 08:01:40PM -0700, Tinni wrote: > I am very new to the shell scripting.. Need some pointers for getting the > return value in shell scripting. "Return value" is an integer from 0 to 255. That's not what you want. > I want the values ( db_host_user, db_host, ORACLE_SID)

Need help for bash function return value

2012-10-11 Thread Tinni
3m\tDatabase Mode Set to : *** $db_s *** \e[0m" echo echo -e "\e[1;34mPress Enter to Continue ..\e[0m" exit 0 read dummy -------------- -- View this message in context: http://old.nabble.com/Need-help-for-bash-function-return-value-tp34545597p34545597.html Sent from the Gnu - Bash mailing list archive at Nabble.com.