redirection
Bash here string
Bash expands the word without splitting or globbing, then supplies it with an appended newline.
Formal Syntax & Structure
bash syntaxbash
[n]<<<wordReturn Value
redirection effect
Bash expands the word without splitting or globbing, then supplies it with an appended newline.
Working Example
Example Snippetbash
value=' report * 'IFS= read -r line <<< "$value"printf '[%s]\n' "$line"IFS= read -r empty <<< ''printf 'status=%s value=[%s]\n' "$?" "$empty"