-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2289
Vidar Holen edited this page Jun 6, 2021
·
1 revision
(or tab)
'''
This script greets the planet
'''
echo "Hello World"
# This script greets the planet
echo "Hello World"
ShellCheck found a command name containing an especially unusual character like a tab or linefeed. This is most likely due to a syntax issue.
In the example, this was due to a Python style documentation string, which a shell will merely interpreted as a multi-line command name sandwiched between two empty strings.
If you have a command name that does contain a tab or linefeed you can ignore this message, but... wow.
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!