bash - What is the meaning of <<< -



bash - What is the meaning of <<< -

this question has reply here:

what bash operator <<< mean? 3 answers

i found code in script @ end of while loop

done <<< $filenames

in script, $filenames variable used collect list of files database. loop processes each sub-string in $filenames list. question have <<< do?

<<< one-line heredoc (a "here string").

$ cat <<< blah blah

which equivalent heredoc like:

$ cat <<eof > blah > eof blah

bash shell io-redirection

Comments