echo
doesn't read from stdin, are you sure you should be piping to it?find . | echo
find .
You are piping command output to echo
, but
echo
ignores all piped input.
In particular, echo
is not responsible for putting
output on screen. Commands already output data, and with no further
actions that will end up on screen.
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.