Error Executing function.
Hi ,
I have written following code but its giving me two warning after execution. What went wrong here? Code:
function1() Code:
./sample.sh: line 9: function3: command not found |
I m sorry . I got my mistake .
|
To make a function in shell, you should do it like this
function function1 { echo "..." } http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-8.html |
Quote:
function1() { echo ".." } |
All times are GMT -5. The time now is 11:02 AM. |