3
How can I perform the following process:
Add the arquivoa.sh
and arquivob.sh
in the arquivoc.sh
, and then perform the defined functions within each file
archivoa.sh
#!/bin/bash
echo "Arquivo A"
function funcaoA(){
echo "Executando a funcao A"
}
arquivob.sh
#!/bin/bash
echo "Arquivo B"
function funcaoB(){
echo "Executando a funcao B"
}
arquivoc.sh
#!/bin/bash
echo "Arquivo C"
funcaoA()
funcaoB()
the doubt is, how to perform the include of the other files within the file.sh?
I’m performing the tests on Ubuntu 16.
grateful