re: Bash Brackets Quick Reference VIEW POST

FULL DISCUSSION
 

There is also triple < here doc that provides a string as stdin input, e.g.
cat <<<"this string"

 

Cool! Does this give you any benefits over “echo some string | cat”? I guess it saves cat from being run in a sub shell, maybe?

code of conduct - report abuse