>From within a script, yes, but if it is defined in your env,
then, unfortunately, functions do not get transferred to
the exec env....

-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