We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
read
while read -r; do echo "line: ${REPLY}" done < foolist
Add a variable to read and use it later on:
while read -r foo; do echo "line: ${foo}" done < foolist
This behavior is not allowed in POSIX.
None. This warning is not emitted in ksh or bash where read can be used without an argument.
ksh
bash
There was an error while loading. Please reload this page.