I have a folder full of text files. I need to append the same block of text to each of them (and of course overwrite the original file).
I was wondering what the co
Variant of kurumi's answer:
sed -i.bak "\$aTEXTTOINSERT" *.txt
For more details, see SED: insert something to the last line?