I have a file containing text in paragraphs (lines with text separated by one or more empty lines). I would like to reverse the order of paragraphs (i.e. last paragraph will become the first, ...), preferably by using sed.
I am looking for a sed command which would do to a file of paragraphs, what
tac would do to a files of lines.