SyntaxFix
Write A Post
Hire A Developer
Questions
Other bash alternatives that do not involve a subshell:
read str <<END # here-doc hello END read str <<< "hello" # here-string read str < <(echo hello) # process substitution