Updated SC2317 (markdown)

Federer Fanatic
2024-01-31 08:41:25 -05:00
parent 38d27cea88
commit 8d9e6691a1

@@ -67,6 +67,12 @@ run-test3
Defined functions are assumed to be reachable when the script ends (not exits) since another file may source and invoke them.
### More Problematic Code
You have defined two functions in the files you are sourcing whose names are the same but defined differently within their bodies. Then you will see the same error message albeit it will be mysterious at first. However, when invoking ShellCheck! on the ex command line I noticed that the whole definition of the **earlier seen** definition was ignored. Indeed every message was that every line was unreachable.
### Related resources:
* Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!