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
Here's a snippet or screenshot that shows the problem:
#!/bin/sh
fd=3
exec3>&1printf'test\n'>&"$fd"
Here's what shellcheck currently says:
In t.sh line 4:
printf 'test\n' >&"$fd"
^-----^ SC2039: In POSIX sh, >& is undefined.
For more information:
https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, >& is undefined.
Here's what I wanted or expected to see:
Nothing.
The text was updated successfully, but these errors were encountered:
For bugs
shellcheck --version
or "online"): 0.6.0For new checks and feature suggestions
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:
Nothing.
The text was updated successfully, but these errors were encountered: