Running several commands without && or ; or ()
I copy-paste several commands at once from a markdown editor (Typora) to Bash in a Putty window terminal; the file I work with reads as follows (empty lines included):
$ non sed command 1 $ non sed command 2 $ sed command 1 $ sed command 2
I want to just copy-paste everything and execute by pressing enter, but without using
What would be a good way to do so? Perhaps a function? Perhaps a Heredocument?