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
The shorthand for for arg in "$@"; do, for arg do (note: without the requirement of a semicolon), is reported as a violation of SC107{3,2}, but it is explicitly permitted by POSIX, and in fact is more portable than for arg; do (with semicolon).
A script that triggers this:
for arg do
echo "$arg"
done
The text was updated successfully, but these errors were encountered:
The shorthand for
for arg in "$@"; do
,for arg do
(note: without the requirement of a semicolon), is reported as a violation of SC107{3,2}, but it is explicitly permitted by POSIX, and in fact is more portable thanfor arg; do
(with semicolon).A script that triggers this:
The text was updated successfully, but these errors were encountered: