You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vidar Holen edited this page Oct 20, 2022
·
1 revision
Found EOF further down, but with wrong casing.
Problematic code:
cat <<EOFHello WorldEof
Correct code:
cat <<EOFHello WorldEOF
Rationale:
ShellCheck found a here document (<<) where the end token is missing. However, the end token appears with different case further down. If this was meant to be the end of the here document, make sure the case matches.
Exceptions:
None. This error is only emitted when the here document is incomplete.
Related resources:
Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!