I have two bash files, in different folders. I want to call abc()
method from bash file a from another bash file b. For that I can do an import. But what if this code is being used in production? I cannot simply provide my locally created files.
Example:
main bash file that I am running "third"
#!/bin/bash . /Users/r/r1-tests/r/fourth abc
bash file called "fourth" which has method declared
#!/bin/bash function abc() { echo "hello" }
Can I do "without" using Import in "third"?