$ < <( echo foo ) while read -r f; do echo "$f"; done -bash: syntax error near unexpected token `do' $ < <( echo foo ) xargs echo foo $ bash --version GNU bash, version 5.1.4(1)-release (x86_64-apple-darwin20.2.0)