• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to invoke subroutine in shell script  RSS feed

 
suresh kamsa
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one shell script and i want to invoke a subroutine from that shell script. Pl some one can provide me some example.
thanks
Srinivas
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suresh -
I'm not sure if you mean:
a) you're not sure how to call the subroutine within the script
b) you want to call only the subroutine from outside the script
Would you please clarify?
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!