< <(cmd)
, not
<<(cmd)
.while IFS= read -r line
do
printf "%q\n" "$line"
done <<(curl -s http://example.com)
while IFS= read -r line
do
printf "%q\n" "$line"
done < <(curl -s http://example.com)
You are using <<(
which is an invalid
construct.
You probably meant to redirect <
from process
substitution <(..)
instead. To do this, a space is
needed between the <
and <(..)
, i.e.
< <(cmd)
.
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.