How can I perform the following process:
Add arquivoa.sh
and arquivob.sh
into arquivoc.sh
, and then execute the functions defined within each file
filea.sh
#!/bin/bash
echo "Arquivo A"
function funcaoA(){
echo "Executando a funcao A"
}
archivob.sh
#!/bin/bash
echo "Arquivo B"
function funcaoB(){
echo "Executando a funcao B"
}
archivoc.sh
#!/bin/bash
echo "Arquivo C"
funcaoA()
funcaoB()
The question is, how to perform the include of the other files inside the archivoc.sh?
I'm running tests on Ubuntu 16.
grateful