Created SC1092 (markdown)

Vidar Holen
2022-10-19 20:57:06 -07:00
parent 8b4f554281
commit c2bc59efbe

21
SC1092.md Normal file

@@ -0,0 +1,21 @@
## Stopping at 100 'source' frames :O
### Problematic code:
An initial file sourcing a second file, which in turn sources a third file, which in turn sources a fourth file, ...., which in turn sources a 100th file.
### Correct code:
Anything but that.
### Rationale:
ShellCheck found a chain of 100+ files sourcing each other. It assumed there must be some internal bug, so it stopped.
### Exceptions:
If this is intentional, you can cosmetically [[ignore]] this message.
### Related resources:
* Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!