How to change function parameter value and return back to the main shell program
Hi All,
In shell programming, I am trying to call a function and pass parametrs to it, I want to change the values of the parameters and return them back to the main shell script, so anyone could help me in this matter??? example: Code:
#!/bin/bash example Code:
#!/bin/bash Regards Bassam |
You have to use variables that retain scope in and out of the function
Code:
#!/bin/bash |
All times are GMT -5. The time now is 06:04 AM. |