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
I tried on shellcheck.net and verified that this is still a problem on the latest commit
Here's a snippet or screenshot that shows the problem:
#!/bin/sh
/bin/echo -e "test\ntest"
Here's what shellcheck currently says:
Line 2:
/bin/echo -e "test\ntest"
^-- SC2039: In POSIX sh, echo flags are undefined.
Here's what I wanted or expected to see:
When I use /bin/echo it should not complain about "echo in POSIX sh", as I am using the binary and not the shell internal function.
The text was updated successfully, but these errors were encountered:
ribx
changed the title
SC2039: triggers "In POSIX sh, echo flags are undefined." for /bin/echo
SC2039 triggered "In POSIX sh, echo flags are undefined." for /bin/echo
May 28, 2019
ribx
changed the title
SC2039 triggered "In POSIX sh, echo flags are undefined." for /bin/echo
SC2039 "In POSIX sh, echo flags are undefined." triggered for /bin/echo
May 28, 2019
For bugs
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Here's what I wanted or expected to see:
When I use
/bin/echo
it should not complain about "echo in POSIX sh", as I am using the binary and not the shell internal function.The text was updated successfully, but these errors were encountered: