How do I add a new empty line to the beginning of a file under MacOS and Linux?
I have tried the below command and it produces a new line character under MacOS
sed -i.bak '1s/^/TESTe\n/' test.py
How do I add a new empty line to the beginning of a file under MacOS and Linux?
I have tried the below command and it produces a new line character under MacOS
sed -i.bak '1s/^/TESTe\n/' test.py