Is there a way to copy the content of a text file to a variable in Bash?
Let's say I have a file containing some text, and I would like to modify text but not a file itself. How can I copy the content of this file to a variable, and then modify the variable?