in reply to How can i call the subroutine of the shell script and pass certain parameters to it?

If you have some *.sh script with some kind of output good way to do my $ScalarForOutput = `sh MyScript.sh`;
following this way you take output of MyScript.sh in $ScalarForOutput
  • Comment on Re: How can i call the subroutine of the shell script and pass certain parameters to it?
  • Select or Download Code