I've always thought of backticks in bash as "execute the output of
'some_command'." What is happening in the following... consider a script
myscript.pl that prints the following text:
export PS1="[STRING] $PS1"
If I copy the output from
cat file.txt to the command line and execute, "[STRING] " gets added to the front of my prompt.
On the other hand, backtick-ing
'myscript.pl' makes my prompt
"[STRING]. What is happening?