test.sh:

#!/bin/bash
test(){
echo "$HOSTNAME"
}

chmod 755 test.sh

qrsh -cwd -V ./test.sh

Can you run this?

qrsh -cwd -V -b y uname -a

-Ed




-----Original Message-----
From: Vamsi Krishna [mailto:[email protected]]
Sent: Tuesday, June 4, 2013 02:25 PM
To: [email protected] Users
Subject: [gridengine users] function to submit inside bash script

Hi,

i have function insdie bash script
#!/bin/bash
test(){
echo "$HOSTNAME"
}
qrsh -V -now no -pty y test 



can i submit function using qrsh interactive way 


Regards
PVK


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to