How can I get the first line of an input text file, while deleting that line from the text file?
If I had a text file /myPathToTheFile.txt like this
► put returns between paragraphs
► for linebreak add 2 spaces at end
► _italic_ or **bold**
I'd like to get this line as an output
► put returns between paragraphs
and my text file should be now like this
► for linebreak add 2 spaces at end
► _italic_ or **bold*