Is there a way to effectively do this in bash:
/my/bash/script < echo \'This string will be sent to stdin.\'
I\'m aware that I could pip
cat | /my/bash/script
Enables one to type multiple lines into a program, without that input being saved in history, nor visible in ps. Just press Ctrl + C when finished typing to end cat.
ps
cat