Need help for bash function return value

2012-10-11 Thread Tinni
as val=`ssh remoteserver '/bin/sh clonesel' `, then it is also not rot returning value.. Pl. advice how can I get the values in test1.sh. Thanks in advance -Tinni - I have

Re: bugs in trap signal handling

2012-10-11 Thread Tinni
Chet Ramey wrote: > > On 10/10/12 2:53 AM, lanshun zhou wrote: >> Red Hat Enterprise Linux Server release 6.2 (Santiago) >> uname -r: 2.6.32-220.17.1.el6.x86_64 >> bash version: bash-4.1.2-9.el6_2.src.rpm (also tested with bash-4.2 >> compiled from source >> with patches bash42-001~bash4