I'm sorry but I can't figure out how to explain this any better than
this.
In PHP we have a command "require()" that obtains a file and logically
places it into another file.
I cannot figure out how to do this in bash script as the requirement
is necessary for a migration script to obtain the code from a .cfg
file and then be able for the "parent" script to run the code it
"imported" from the .cfg file, much like PHP's require() or TCL's
"source".
This is what I have so far and it fails:
if [ -f ivc.cfg ]; then
cat ivc.cfg
fi
Anyone really know bash script well please help, it's a barrier for me
not to be able to get just this one piece working.
Thanx
Phil