IFS=
should be suggested for while read -r line; do
to avoid omitting leading spaces
#2619
Open
2 tasks done
For new checks and feature suggestions
Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Nothing
Here's what I wanted or expected to see:
Warning about omitted leading spaces and suggesting correcting to
while IFS= read -r line; do
The text was updated successfully, but these errors were encountered: